|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The common interface for sub-deployer components which perform the actual deployment services for application components.
Field Summary | |
static String |
CREATE_NOTIFICATION
The notification type send when a SubDeployer completes create |
static String |
DESTROY_NOTIFICATION
The notification type send when a SubDeployer completes destroy |
static String |
INIT_NOTIFICATION
The notification type send when a SubDeployer completes init |
static String |
START_NOTIFICATION
The notification type send when a SubDeployer completes start |
static String |
STOP_NOTIFICATION
The notification type send when a SubDeployer completes stop |
Method Summary | |
boolean |
accepts(DeploymentInfo sdi)
The accepts method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo. |
void |
create(DeploymentInfo sdi)
Set up the components of the deployment that do not refer to other components |
void |
destroy(DeploymentInfo sdi)
The destroy method removes individual components |
javax.management.ObjectName |
getServiceName()
Get the JMX ObjectName of the service that provides the SubDeployer |
void |
init(DeploymentInfo sdi)
The init method lets the deployer set a few properties
of the DeploymentInfo, such as the watch url. |
void |
start(DeploymentInfo sdi)
The start method sets up relationships with other components. |
void |
stop(DeploymentInfo sdi)
The stop method removes relationships between components. |
Field Detail |
public static final String INIT_NOTIFICATION
public static final String CREATE_NOTIFICATION
public static final String START_NOTIFICATION
public static final String STOP_NOTIFICATION
public static final String DESTROY_NOTIFICATION
Method Detail |
public javax.management.ObjectName getServiceName()
public boolean accepts(DeploymentInfo sdi)
accepts
method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo.
sdi
- a DeploymentInfo
value
boolean
valuepublic void init(DeploymentInfo sdi) throws DeploymentException
init
method lets the deployer set a few properties
of the DeploymentInfo, such as the watch url.
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occurspublic void create(DeploymentInfo sdi) throws DeploymentException
sdi
- a DeploymentInfo
value
DeploymentException
- Failed to deploypublic void start(DeploymentInfo sdi) throws DeploymentException
start
method sets up relationships with other components.
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occurspublic void stop(DeploymentInfo sdi) throws DeploymentException
stop
method removes relationships between components.
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occurspublic void destroy(DeploymentInfo sdi) throws DeploymentException
destroy
method removes individual components
sdi
- a DeploymentInfo
value
DeploymentException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |