djencks     2005/02/04 21:40:40

  Added:       modules/openejb-builder/src/test/org/openejb/deployment
                        MockEJBInstanceContext.java
  Log:

  forgot one
  
  Revision  Changes    Path
  1.1                  
openejb/modules/openejb-builder/src/test/org/openejb/deployment/MockEJBInstanceContext.java
  
  Index: MockEJBInstanceContext.java
  ===================================================================
  /**
   *
   * Copyright 2003-2004 The Apache Software Foundation
   *
   *  Licensed under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License.
   *  You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   *  Unless required by applicable law or agreed to in writing, software
   *  distributed under the License is distributed on an "AS IS" BASIS,
   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *  See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  package org.openejb.deployment;
  
  import java.util.Map;
  import java.util.Set;
  import javax.ejb.EnterpriseBean;
  import javax.ejb.TimerService;
  
  import org.openejb.EJBInstanceContext;
  import org.openejb.EJBOperation;
  import org.openejb.proxy.EJBProxyFactory;
  
  /**
   * @version $Rev:  $ $Date: 2005/02/05 02:40:40 $
   */
  public class MockEJBInstanceContext implements EJBInstanceContext {
  
      public static final MockEJBInstanceContext INSTANCE = new 
MockEJBInstanceContext();
      public EnterpriseBean getInstance() {
          return null;
      }
  
      public void setOperation(EJBOperation operation) {
  
      }
  
      public EJBProxyFactory getProxyFactory() {
          return null;
      }
  
      public TimerService getTimerService() {
          return null;
      }
  
      public Object getId() {
          return null;
      }
  
      public void setId(Object id) {
  
      }
  
      public Object getContainerId() {
          return null;
      }
  
      public void associate() throws Throwable {
  
      }
  
      public void flush() throws Throwable {
  
      }
  
      public void beforeCommit() throws Exception {
  
      }
  
      public void afterCommit(boolean status) throws Exception {
  
      }
  
      public Map getConnectionManagerMap() {
          return null;
      }
  
      public Set getUnshareableResources() {
          return null;
      }
  
      public Set getApplicationManagedSecurityResources() {
          return null;
      }
  }
  
  
  

Reply via email to