Initialize the deployment. This is the first phase of a two-phase
start, where the component must prepare to receive service requests
related to the deployment (if any).
Parameters: serviceUnitName - the name of the Service Unit being initialized. Parameters: serviceUnitRootPath - the full path to the Service Unit artifactroot directory. throws: javax.jbi.management.DeploymentException - if the Service Unit isnot deployed, or is in an incorrect state.
Shut down the deployment. This causes the deployment to return to the
state it was in after deploy() and before init().
Parameters: serviceUnitName - the name of the Service Unit being shut down. throws: javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.
Start the deployment. This is the second phase of a two-phase start,
where the component can now initiate service requests related to the
deployment.
Parameters: serviceUnitName - the name of the Service Unit being started. throws: javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.
Stop the deployment. This causes the component to cease generating
service requests related to the deployment. This returns the deployment
to a state equivalent to after init() was called.
Parameters: serviceUnitName - the name of the Service Unit being stopped. throws: javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.