|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Startup beans must use this interface for their remote interfaces. It cannot be extended, you must use it as is.
The methods should be set up to run as a role if security is enabled and the methods can use any TX_ mode except TX_MANDATORY.
AppStartUpHome
Method Summary | |
---|---|
boolean |
start()
This method is called when the application containing this bean is started. |
void |
stop()
This is called when an application is stopped normally. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public boolean start() throws java.rmi.RemoteException
This method cannot be declared with TX_MANDATORY as there will never be an incoming transaction when the start method is called. A runtime exception will result if TX_MANDATORY is used.
java.rmi.RemoteException
public void stop() throws java.rmi.RemoteException
This method cannot be declared with TX_MANDATORY as there will never be an incoming transaction when the start method is called. A runtime exception will result if TX_MANDATORY is used.
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |