View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.container;
8   
9   import java.rmi.RemoteException;
10  
11  import javax.ejb.CreateException;
12  import javax.ejb.EJBMetaData;
13  import javax.ejb.Handle;
14  import javax.ejb.HomeHandle;
15  import javax.ejb.RemoveException;
16  
17  /**
18   * Test EJB Home impl
19   */
20  public class DummyEjbHomeProxy implements DummyEjbHome
21  {
22      public DummyEjb create() throws RemoteException, CreateException
23      {
24          return new DummyEjbBean();
25      }
26  
27      public EJBMetaData getEJBMetaData() throws RemoteException
28      {
29          return null;
30      }
31  
32      public HomeHandle getHomeHandle() throws RemoteException
33      {
34          return null;
35      }
36  
37      public void remove(Handle handle) throws RemoteException, RemoveException
38      {
39          // nothing to do
40      }
41  
42      public void remove(Object object) throws RemoteException, RemoveException
43      {
44          // nothing to do
45      }
46  
47  }