|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModStartUp
Startup beans who's start() methods are to be invoked at module start time 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.
ModStartUpHome
Method Summary | |
---|---|
boolean |
start()
This method is called when the module containing this bean is started. |
void |
stop()
This is called when a module is stopped normally. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
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
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
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |