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