org.apache.openejb.test.stateless
Class EncStatelessBean

java.lang.Object
  extended by org.apache.openejb.test.stateless.EncStatelessBean
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class EncStatelessBean
extends Object
implements javax.ejb.SessionBean

Author:
David Blevins, Richard Monson-Haefel
See Also:
Serialized Form

Constructor Summary
EncStatelessBean()
           
 
Method Summary
 void ejbActivate()
          The activate method is called when the instance is activated from its "passive" state.
 void ejbCreate()
           
 void ejbPassivate()
          The passivate method is called before the instance enters the "passive" state.
 void ejbRemove()
          A container invokes this method before it ends the life of the session object.
 void lookupBooleanEntry()
           
 void lookupByteEntry()
           
 void lookupCharacterEntry()
           
 void lookupDoubleEntry()
           
 void lookupEntityBean()
           
 void lookupFloatEntry()
           
 void lookupIntegerEntry()
           
 void lookupJMSConnectionFactory()
           
 void lookupLongEntry()
           
 void lookupPersistenceContext()
           
 void lookupPersistenceUnit()
           
 void lookupResource()
           
 void lookupSessionContext()
           
 void lookupShortEntry()
           
 void lookupStatefulBean()
           
 void lookupStatefulBusinessLocal()
           
 void lookupStatefulBusinessRemote()
           
 void lookupStatelessBean()
           
 void lookupStatelessBusinessLocal()
           
 void lookupStatelessBusinessRemote()
           
 void lookupStringEntry()
           
 String remove(String arg)
           
 void setSessionContext(javax.ejb.SessionContext ctx)
          Set the associated session context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncStatelessBean

public EncStatelessBean()
Method Detail

lookupEntityBean

public void lookupEntityBean()
                      throws TestFailureException
Throws:
TestFailureException

lookupStatefulBean

public void lookupStatefulBean()
                        throws TestFailureException
Throws:
TestFailureException

lookupStatelessBean

public void lookupStatelessBean()
                         throws TestFailureException
Throws:
TestFailureException

lookupStatelessBusinessLocal

public void lookupStatelessBusinessLocal()
                                  throws TestFailureException
Throws:
TestFailureException

lookupStatelessBusinessRemote

public void lookupStatelessBusinessRemote()
                                   throws TestFailureException
Throws:
TestFailureException

lookupStatefulBusinessLocal

public void lookupStatefulBusinessLocal()
                                 throws TestFailureException
Throws:
TestFailureException

lookupStatefulBusinessRemote

public void lookupStatefulBusinessRemote()
                                  throws TestFailureException
Throws:
TestFailureException

lookupStringEntry

public void lookupStringEntry()
                       throws TestFailureException
Throws:
TestFailureException

lookupDoubleEntry

public void lookupDoubleEntry()
                       throws TestFailureException
Throws:
TestFailureException

lookupLongEntry

public void lookupLongEntry()
                     throws TestFailureException
Throws:
TestFailureException

lookupFloatEntry

public void lookupFloatEntry()
                      throws TestFailureException
Throws:
TestFailureException

lookupIntegerEntry

public void lookupIntegerEntry()
                        throws TestFailureException
Throws:
TestFailureException

lookupShortEntry

public void lookupShortEntry()
                      throws TestFailureException
Throws:
TestFailureException

lookupBooleanEntry

public void lookupBooleanEntry()
                        throws TestFailureException
Throws:
TestFailureException

lookupByteEntry

public void lookupByteEntry()
                     throws TestFailureException
Throws:
TestFailureException

lookupCharacterEntry

public void lookupCharacterEntry()
                          throws TestFailureException
Throws:
TestFailureException

lookupResource

public void lookupResource()
                    throws TestFailureException
Throws:
TestFailureException

lookupJMSConnectionFactory

public void lookupJMSConnectionFactory()
                                throws TestFailureException
Throws:
TestFailureException

lookupPersistenceUnit

public void lookupPersistenceUnit()
                           throws TestFailureException
Throws:
TestFailureException

lookupPersistenceContext

public void lookupPersistenceContext()
                              throws TestFailureException
Throws:
TestFailureException

lookupSessionContext

public void lookupSessionContext()
                          throws TestFailureException
Throws:
TestFailureException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws javax.ejb.EJBException,
                              RemoteException
Set the associated session context. The container calls this method after the instance creation.

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
RemoteException

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      RemoteException
A container invokes this method before it ends the life of the session object. This happens as a result of a client's invoking a remove operation, or when a container decides to terminate the session object after a timeout.

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
RemoteException

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        RemoteException
The activate method is called when the instance is activated from its "passive" state. The instance should acquire any resource that it has released earlier in the ejbPassivate() method.

Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
RemoteException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         RemoteException
The passivate method is called before the instance enters the "passive" state. The instance should release any resources that it can re-acquire later in the ejbActivate() method.

Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
RemoteException

remove

public String remove(String arg)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.