|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Subsystems that wish to take advantage of the GenericServiceManager must implement this interface. The manager will create one object of the class that implements this interface for each DeploymentMBean that's deployed on a server.
Method Summary | |
void |
activate(DeploymentMBean bean)
If "prepare" succeeds, then this call will be made to activate the service. |
void |
deactivate(DeploymentMBean bean)
If "activate" was called, then this method is called when it's time to shut down. |
void |
prepare(DeploymentMBean bean)
This is the first call that is made to the service. |
void |
unprepare(DeploymentMBean bean)
This method is called to clean everything up if "activate" fails, or after a successful "deactivate". |
Method Detail |
public void activate(DeploymentMBean bean) throws DeploymentException
DeploymentException
public void deactivate(DeploymentMBean bean) throws UndeploymentException
UndeploymentException
public void prepare(DeploymentMBean bean) throws DeploymentException
Because many instances of an MBean may be created and destroyed in the lifetime of a server, implementations of this class should not cache their DeploymentMBean in a local variable.
DeploymentException
public void unprepare(DeploymentMBean bean) throws UndeploymentException
UndeploymentException
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |