|
||||||||||
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 it.imolinfo.jbi4ejb.jbi.component.Jbi4EjbSUManager
public class Jbi4EjbSUManager
Jbi4Ejb Service Unit Manager. Redefines: deploy/implement (no init).
for more details of the generated code.
Constructor Summary | |
---|---|
Jbi4EjbSUManager(ComponentRuntime ctx)
Constructor that takes the ComponentRuntime parameter. |
Method Summary | |
---|---|
void |
deactivateEndpoint(Jbi4EjbEndpoint endpoint)
Activate the endpoint array. |
java.lang.String |
deploy(java.lang.String suName,
java.lang.String suZipPath)
Deploy a Service Unit to the component. |
java.util.List<Jbi4EjbEndpoint> |
getDeployedEndpoints()
Gets the deployed endpoints. |
Jbi4EjbLifeCycle |
getLifeCycle()
Gets the life cycle. |
Jbi4EjbEndpoint |
getStartedEndpoint(javax.jbi.servicedesc.ServiceEndpoint endpoint)
Gets the started endpoint from the ServiceEndpoint description. |
void |
init(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Service unit init, process the Endpoint deploy. |
static javax.wsdl.Definition |
readWsdl(java.io.File f)
Reads a Definition from a File . |
void |
setLifeCycle(Jbi4EjbLifeCycle lifeCycle)
Sets the life cycle. |
void |
shutDown(java.lang.String serviceUnitName)
Service unit shutdown, removes the deployed endpoint. |
void |
start(java.lang.String serviceUnitName)
Start the deployed service unit. |
void |
stop(java.lang.String serviceUnitName)
Stop the service unit. |
java.lang.String |
undeploy(java.lang.String serviceUnitName,
java.lang.String suZipPath)
Undeploy a service unit from the component. |
Methods inherited from class it.imolinfo.jbi4ejb.jbi.component.runtime.DefaultServiceUnitManager |
---|
createComponentTaskResultXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jbi4EjbSUManager(ComponentRuntime ctx)
ctx
- the component runtime contextMethod 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
deploy
in class DefaultServiceUnitManager
suName
- the service unit namesuZipPath
- the service unit unzip path
javax.jbi.management.DeploymentException
- if some deploy problem occursServiceUnitManager.deploy(String, String);
public void start(java.lang.String serviceUnitName) throws javax.jbi.management.DeploymentException
start
in interface javax.jbi.component.ServiceUnitManager
start
in class DefaultServiceUnitManager
serviceUnitName
- the service unit name
javax.jbi.management.DeploymentException
- if some problem occursServiceUnitManager.start(String);
public java.lang.String undeploy(java.lang.String serviceUnitName, java.lang.String suZipPath) throws javax.jbi.management.DeploymentException
undeploy
in interface javax.jbi.component.ServiceUnitManager
undeploy
in class DefaultServiceUnitManager
suZipPath
- the service unit unzip pathserviceUnitName
- the service unit name
javax.jbi.management.DeploymentException
- if some problem occursServiceUnitManager.undeploy(String, String);
public void stop(java.lang.String serviceUnitName) throws javax.jbi.management.DeploymentException
stop
in interface javax.jbi.component.ServiceUnitManager
stop
in class DefaultServiceUnitManager
serviceUnitName
- the service unit name
javax.jbi.management.DeploymentException
- if some problem occursServiceUnitManager.stop(String);
public void init(java.lang.String serviceUnitName, java.lang.String serviceUnitRootPath) throws javax.jbi.management.DeploymentException
init
in interface javax.jbi.component.ServiceUnitManager
init
in class DefaultServiceUnitManager
serviceUnitName
- the service unit nameserviceUnitRootPath
- the service unit root path
javax.jbi.management.DeploymentException
- if some problem occursServiceUnitManager.init(String, String);
public void shutDown(java.lang.String serviceUnitName) throws javax.jbi.management.DeploymentException
shutDown
in interface javax.jbi.component.ServiceUnitManager
shutDown
in class DefaultServiceUnitManager
serviceUnitName
- the service unit name
javax.jbi.management.DeploymentException
- if some problem occursjavax.jbi.component.ServiceUnitManager#shutdown(String);
public Jbi4EjbEndpoint getStartedEndpoint(javax.jbi.servicedesc.ServiceEndpoint endpoint)
ServiceEndpoint
description.
endpoint
- the Jbi4EjbEndpoint
public void deactivateEndpoint(Jbi4EjbEndpoint endpoint) throws Jbi4EjbDeployException
endpoint
- the endpoints to deactivate
Jbi4EjbDeployException
- if some deployment problem occurspublic static javax.wsdl.Definition readWsdl(java.io.File f) throws javax.wsdl.WSDLException
Definition
from a File
.
f
- the file to read
javax.wsdl.WSDLException
- if there are problem in reading the WSDLpublic Jbi4EjbLifeCycle getLifeCycle()
public void setLifeCycle(Jbi4EjbLifeCycle lifeCycle)
lifeCycle
- the new life cyclepublic java.util.List<Jbi4EjbEndpoint> getDeployedEndpoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |