com.example.legacy.ejb
Class ExampleBean
java.lang.Object
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleBean
public ExampleBean()
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