Class StatelessWrapper
java.lang.Object
com.sun.ts.tests.common.ejb.wrappers.StatelessWrapper
- All Implemented Interfaces:
- jakarta.ejb.EnterpriseBean,- jakarta.ejb.SessionBean,- Serializable
Stateless wrapper that provide the bean life cycle methods for a Stateless Session bean. This class is intended to be
 subclassed by the final entity bean class that will provide the test logic (business methods).
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidinitLogging(Properties props) Initialize TS logging.voidsetSessionContext(jakarta.ejb.SessionContext sc) 
- 
Field Details- 
nctx
- 
sctxprotected jakarta.ejb.SessionContext sctx
 
- 
- 
Constructor Details- 
StatelessWrapperpublic StatelessWrapper()
 
- 
- 
Method Details- 
initLoggingInitialize TS logging.- Parameters:
- props- TS properties need by TestUtil
 
- 
ejbCreatepublic void ejbCreate() throws jakarta.ejb.CreateException- Throws:
- jakarta.ejb.CreateException
 
- 
ejbPostCreatepublic void ejbPostCreate() throws jakarta.ejb.CreateException- Throws:
- jakarta.ejb.CreateException
 
- 
setSessionContextpublic void setSessionContext(jakarta.ejb.SessionContext sc) - Specified by:
- setSessionContextin interface- jakarta.ejb.SessionBean
 
- 
ejbRemovepublic void ejbRemove()- Specified by:
- ejbRemovein interface- jakarta.ejb.SessionBean
 
- 
ejbActivatepublic void ejbActivate()- Specified by:
- ejbActivatein interface- jakarta.ejb.SessionBean
 
- 
ejbPassivatepublic void ejbPassivate()- Specified by:
- ejbPassivatein interface- jakarta.ejb.SessionBean
 
 
-