|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.workarea.companycontextejb.BackendBeanImpl
public class BackendBeanImpl
The Backend represents in the sample business function known to the Bean but not necessarily to the originating client. In this case, because the Bean is the client to the BackendBean, the SampleBean began a new nested WorkArea and overrode the client's priority. This is the intended use of WorkArea nesting. This bean makes nominal use of the WorkArea service; it reads the two keys directly (priority from the nested WorkArea, company from the original WorkArea begun from the client) without being aware of the composition of the work areas, then reads all keys to illustrate another method from the WorkArea api.
Constructor Summary | |
---|---|
BackendBeanImpl()
|
Method Summary | |
---|---|
void |
ejbActivate()
Framework methods. |
void |
ejbCreate()
Framework methods. |
void |
ejbPassivate()
Framework methods. |
void |
ejbRemove()
Framework methods. |
javax.ejb.SessionContext |
getSessionContext()
Framework methods. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Framework methods. |
java.lang.String[] |
test()
BackendBean's only remote method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackendBeanImpl()
Method Detail |
---|
public void ejbActivate() throws javax.ejb.EJBException
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void ejbCreate() throws javax.ejb.CreateException, javax.ejb.EJBException
javax.ejb.CreateException
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public javax.ejb.SessionContext getSessionContext()
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
setSessionContext
in interface javax.ejb.SessionBean
ctx
- javax.ejb.SessionContext
javax.ejb.EJBException
public java.lang.String[] test()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |