org.mule.container
Class DummyEjbBean

java.lang.Object
  extended by org.mule.container.DummyEjbBean
All Implemented Interfaces:
Serializable, Remote, EJBObject, EnterpriseBean, SessionBean, DummyEjb

public class DummyEjbBean
extends Object
implements SessionBean, DummyEjb

A fake (and invalid) EJB used for testing MUle ejb lookup

See Also:
Serialized Form

Constructor Summary
DummyEjbBean()
           
 
Method Summary
 void dummy()
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 EJBHome getEJBHome()
           
 Handle getHandle()
           
 Object getPrimaryKey()
           
 boolean isIdentical(EJBObject ejbObject)
           
 void remove()
           
 String reverseString(String string)
           
 void setSessionContext(SessionContext sessionContext)
           
 String upperCaseString(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyEjbBean

public DummyEjbBean()
Method Detail

ejbActivate

public void ejbActivate()
                 throws EJBException
Specified by:
ejbActivate in interface SessionBean
Throws:
EJBException

ejbPassivate

public void ejbPassivate()
                  throws EJBException
Specified by:
ejbPassivate in interface SessionBean
Throws:
EJBException

ejbRemove

public void ejbRemove()
               throws EJBException
Specified by:
ejbRemove in interface SessionBean
Throws:
EJBException

ejbCreate

public void ejbCreate()
               throws EJBException
Throws:
EJBException

setSessionContext

public void setSessionContext(SessionContext sessionContext)
                       throws EJBException
Specified by:
setSessionContext in interface SessionBean
Throws:
EJBException

dummy

public void dummy()
Specified by:
dummy in interface DummyEjb

reverseString

public String reverseString(String string)
Specified by:
reverseString in interface DummyEjb

upperCaseString

public String upperCaseString(String string)
Specified by:
upperCaseString in interface DummyEjb

getEJBHome

public EJBHome getEJBHome()
                   throws RemoteException
Specified by:
getEJBHome in interface EJBObject
Throws:
RemoteException

getHandle

public Handle getHandle()
                 throws RemoteException
Specified by:
getHandle in interface EJBObject
Throws:
RemoteException

getPrimaryKey

public Object getPrimaryKey()
                     throws RemoteException
Specified by:
getPrimaryKey in interface EJBObject
Throws:
RemoteException

isIdentical

public boolean isIdentical(EJBObject ejbObject)
                    throws RemoteException
Specified by:
isIdentical in interface EJBObject
Throws:
RemoteException

remove

public void remove()
            throws RemoteException,
                   RemoveException
Specified by:
remove in interface EJBObject
Throws:
RemoteException
RemoveException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.