org.mule.container
Class DummyEjbBean

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

public class DummyEjbBean
extends java.lang.Object
implements javax.ejb.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()
           
 javax.ejb.EJBHome getEJBHome()
           
 javax.ejb.Handle getHandle()
           
 java.lang.Object getPrimaryKey()
           
 boolean isIdentical(javax.ejb.EJBObject ejbObject)
           
 void remove()
           
 java.lang.String reverseString(java.lang.String string)
           
 void setSessionContext(javax.ejb.SessionContext sessionContext)
           
 java.lang.String upperCaseString(java.lang.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 javax.ejb.EJBException
Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException

ejbPassivate

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

ejbRemove

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

ejbCreate

public void ejbCreate()
               throws javax.ejb.EJBException
Throws:
javax.ejb.EJBException

setSessionContext

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

dummy

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

reverseString

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

upperCaseString

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

getEJBHome

public javax.ejb.EJBHome getEJBHome()
                             throws java.rmi.RemoteException
Specified by:
getEJBHome in interface javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

getHandle

public javax.ejb.Handle getHandle()
                           throws java.rmi.RemoteException
Specified by:
getHandle in interface javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

getPrimaryKey

public java.lang.Object getPrimaryKey()
                               throws java.rmi.RemoteException
Specified by:
getPrimaryKey in interface javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

isIdentical

public boolean isIdentical(javax.ejb.EJBObject ejbObject)
                    throws java.rmi.RemoteException
Specified by:
isIdentical in interface javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

remove

public void remove()
            throws java.rmi.RemoteException,
                   javax.ejb.RemoveException
Specified by:
remove in interface javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
javax.ejb.RemoveException


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