com.example.legacy.ejb
Class ExampleBean

java.lang.Object
  extended bycom.example.legacy.ejb.ExampleBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class ExampleBean
extends java.lang.Object
implements javax.ejb.SessionBean

Author:
Dan North
See Also:
Serialized Form

Constructor Summary
ExampleBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
          called to tidy up bean
 java.lang.String getSomeValue()
           
 void setSessionContext(javax.ejb.SessionContext sessionContext)
          Set the session context - called after instance creation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleBean

public ExampleBean()
Method Detail

getSomeValue

public java.lang.String getSomeValue()
                              throws javax.naming.NamingException
Throws:
javax.naming.NamingException

ejbCreate

public void ejbCreate()

setSessionContext

public void setSessionContext(javax.ejb.SessionContext sessionContext)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException
Set the session context - called after instance creation

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

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException
called to tidy up bean

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

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException