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 SummaryConstructors Constructor Description SampleBean()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidejbActivate()voidejbCreate()voidejbPassivate()voidejbRemove()booleanisWorking()voidsetSessionContext(javax.ejb.SessionContext arg0)
 
- 
- 
- 
Method Detail- 
isWorkingpublic boolean isWorking() throws RemoteException- Throws:
- RemoteException
 
 - 
ejbCreatepublic void ejbCreate() throws javax.ejb.CreateException- Throws:
- javax.ejb.CreateException
 
 - 
ejbActivatepublic void ejbActivate() throws javax.ejb.EJBException, RemoteException- Specified by:
- ejbActivatein interface- javax.ejb.SessionBean
- Throws:
- javax.ejb.EJBException
- RemoteException
 
 - 
ejbPassivatepublic void ejbPassivate() throws javax.ejb.EJBException, RemoteException- Specified by:
- ejbPassivatein interface- javax.ejb.SessionBean
- Throws:
- javax.ejb.EJBException
- RemoteException
 
 - 
ejbRemovepublic void ejbRemove() throws javax.ejb.EJBException, RemoteException- Specified by:
- ejbRemovein interface- javax.ejb.SessionBean
- Throws:
- javax.ejb.EJBException
- RemoteException
 
 - 
setSessionContextpublic void setSessionContext(javax.ejb.SessionContext arg0) throws javax.ejb.EJBException, RemoteException- Specified by:
- setSessionContextin interface- javax.ejb.SessionBean
- Throws:
- javax.ejb.EJBException
- RemoteException
 
 
- 
 
-