Class SampleBean
- java.lang.Object
-
- org.codehaus.cargo.sample.testdata.ejb.SampleBean
-
- All Implemented Interfaces:
Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
public class SampleBean extends Object implements javax.ejb.SessionBean
Test EJB to verify Cargo can deploy EJB JAR to containers which supports it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SampleBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ejbActivate()
void
ejbCreate()
void
ejbPassivate()
void
ejbRemove()
boolean
isWorking()
void
setSessionContext(javax.ejb.SessionContext arg0)
-
-
-
Method Detail
-
isWorking
public boolean isWorking() throws RemoteException
- Throws:
RemoteException
-
ejbCreate
public void ejbCreate() throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
-
ejbActivate
public void ejbActivate() throws javax.ejb.EJBException, RemoteException
- Specified by:
ejbActivate
in interfacejavax.ejb.SessionBean
- Throws:
javax.ejb.EJBException
RemoteException
-
ejbPassivate
public void ejbPassivate() throws javax.ejb.EJBException, RemoteException
- Specified by:
ejbPassivate
in interfacejavax.ejb.SessionBean
- Throws:
javax.ejb.EJBException
RemoteException
-
ejbRemove
public void ejbRemove() throws javax.ejb.EJBException, RemoteException
- Specified by:
ejbRemove
in interfacejavax.ejb.SessionBean
- Throws:
javax.ejb.EJBException
RemoteException
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext arg0) throws javax.ejb.EJBException, RemoteException
- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- Throws:
javax.ejb.EJBException
RemoteException
-
-