Class StatefulWrapper
java.lang.Object
com.sun.ts.tests.common.ejb.wrappers.StatefulWrapper
- All Implemented Interfaces:
- jakarta.ejb.EnterpriseBean,- jakarta.ejb.SessionBean,- Serializable
- Direct Known Subclasses:
- StatefulCalleeEJB
Stateful wrapper that provide the bean life cycle methods for a Stateful 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 SummaryFieldsModifier and TypeFieldDescriptionprotected TSNamingContextprotected Propertiesprotected jakarta.ejb.SessionContext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidejbCreate(Properties props) voidvoidejbPostCreate(Properties props) voidvoidsetSessionContext(jakarta.ejb.SessionContext sc) 
- 
Field Details- 
nctx
- 
sctxprotected jakarta.ejb.SessionContext sctx
- 
props
 
- 
- 
Constructor Details- 
StatefulWrapperpublic StatefulWrapper()
 
- 
- 
Method Details- 
ejbCreate- Throws:
- jakarta.ejb.CreateException
 
- 
ejbPostCreate- 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
 
 
-