View Javadoc

1   /**
2      This file is part of GoldenGate Project (named also GoldenGate or GG).
3   
4      Copyright 2009, Frederic Bregier, and individual contributors by the @author
5      tags. See the COPYRIGHT.txt in the distribution for a full listing of
6      individual contributors.
7   
8      All GoldenGate Project is free software: you can redistribute it and/or 
9      modify it under the terms of the GNU General Public License as published 
10     by the Free Software Foundation, either version 3 of the License, or
11     (at your option) any later version.
12  
13     GoldenGate is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU General Public License for more details.
17  
18     You should have received a copy of the GNU General Public License
19     along with GoldenGate .  If not, see <http://www.gnu.org/licenses/>.
20   */
21  package openr66.context;
22  
23  import goldengate.common.logging.GgInternalLogger;
24  import goldengate.common.logging.GgInternalLoggerFactory;
25  
26  /**
27   * Empty Business factory
28   * @author Frederic Bregier
29   *
30   */
31  public class R66DefaultBusinessFactory implements R66BusinessFactoryInterface {
32      /**
33       * Internal Logger
34       */
35      private static final GgInternalLogger logger = GgInternalLoggerFactory
36              .getLogger(R66DefaultBusinessFactory.class);
37      /* (non-Javadoc)
38       * @see openr66.context.R66BusinessFactoryInterface#getBusinessInterface(openr66.context.R66Session)
39       */
40      @Override
41      public R66BusinessInterface getBusinessInterface(R66Session session) {
42          logger.debug("No Business");
43          return null;
44      }
45  
46      /* (non-Javadoc)
47       * @see openr66.context.R66BusinessFactoryInterface#releaseResources()
48       */
49      @Override
50      public void releaseResources() {
51      }
52  
53  }