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

public class StatefulWrapper extends Object implements jakarta.ejb.SessionBean
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 Details

  • Constructor Details

    • StatefulWrapper

      public StatefulWrapper()
  • Method Details

    • ejbCreate

      public void ejbCreate(Properties props) throws jakarta.ejb.CreateException
      Throws:
      jakarta.ejb.CreateException
    • ejbPostCreate

      public void ejbPostCreate(Properties props) throws jakarta.ejb.CreateException
      Throws:
      jakarta.ejb.CreateException
    • setSessionContext

      public void setSessionContext(jakarta.ejb.SessionContext sc)
      Specified by:
      setSessionContext in interface jakarta.ejb.SessionBean
    • ejbRemove

      public void ejbRemove()
      Specified by:
      ejbRemove in interface jakarta.ejb.SessionBean
    • ejbActivate

      public void ejbActivate()
      Specified by:
      ejbActivate in interface jakarta.ejb.SessionBean
    • ejbPassivate

      public void ejbPassivate()
      Specified by:
      ejbPassivate in interface jakarta.ejb.SessionBean