|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.imolinfo.jbi4ejb.jbi.component.runtime.DefaultServiceUnitManager
public class DefaultServiceUnitManager
Default Service Unit Manager implementation. Component's supporting the deployment should extend this class to support the service unit deployment.
javax.jbi.ServiceUnitManager
Constructor Summary | |
---|---|
DefaultServiceUnitManager(ComponentRuntime ctx)
constructor that takes the compoent runtime |
Method Summary | |
---|---|
protected java.lang.String |
createComponentTaskResultXML(java.lang.String message,
boolean isSuccess)
helper method to create result message in management message xml. |
java.lang.String |
deploy(java.lang.String suName,
java.lang.String suZipPath)
Deploy a Service Unit to the component. |
void |
init(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Initialize the given deployed service unit. |
void |
shutDown(java.lang.String serviceUnitName)
Shut down the deployment. |
void |
start(java.lang.String serviceUnitName)
Start the deployed service unit. |
void |
stop(java.lang.String serviceUnitName)
Stop the deployed service unit. |
java.lang.String |
undeploy(java.lang.String suName,
java.lang.String suZipPath)
Undeploy a service unit from the component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultServiceUnitManager(ComponentRuntime ctx)
Method Detail |
---|
public java.lang.String deploy(java.lang.String suName, java.lang.String suZipPath) throws javax.jbi.management.DeploymentException
deploy
in interface javax.jbi.component.ServiceUnitManager
javax.jbi.management.DeploymentException
ServiceUnitManager.deploy(String, String);
public java.lang.String undeploy(java.lang.String suName, java.lang.String suZipPath) throws javax.jbi.management.DeploymentException
undeploy
in interface javax.jbi.component.ServiceUnitManager
javax.jbi.management.DeploymentException
ServiceUnitManager.undeploy(String, String);
public void init(java.lang.String serviceUnitName, java.lang.String serviceUnitRootPath) throws javax.jbi.management.DeploymentException
init
in interface javax.jbi.component.ServiceUnitManager
javax.jbi.management.DeploymentException
ServiceUnitManager.init(String, String);
public void shutDown(java.lang.String serviceUnitName) throws javax.jbi.management.DeploymentException
shutDown
in interface javax.jbi.component.ServiceUnitManager
javax.jbi.management.DeploymentException
javax.jbi.component.ServiceUnitManager#shutdown(String);
public void start(java.lang.String serviceUnitName) throws javax.jbi.management.DeploymentException
start
in interface javax.jbi.component.ServiceUnitManager
javax.jbi.management.DeploymentException
ServiceUnitManager.start(String);
public void stop(java.lang.String serviceUnitName) throws javax.jbi.management.DeploymentException
stop
in interface javax.jbi.component.ServiceUnitManager
javax.jbi.management.DeploymentException
ServiceUnitManager.stop(String);
protected java.lang.String createComponentTaskResultXML(java.lang.String message, boolean isSuccess)
message
- message string to returnisSuccess
- true to format a sucess result, false to format a failed result.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |