public interface DeploymentServiceMBean extends DeploymentServiceMBean
SHUTDOWN, STARTED, STOPPED| Modifier and Type | Method and Description |
|---|---|
String |
deployFromRepository(String serviceAssemblyName)
Deploy a Service Assembly from the Repository.
|
String |
getServiceAssemblyName(String serviceUnitName,
String componentName)
Get the Service Assembly name for a specific service unit deployed to a
specific component.
|
String |
getServiceUnitDescriptor(String serviceAssemblyName,
String serviceUnitName)
Returns the deployment descriptor of the Service Unit that was
deployed to the JBI enviroment, serialized to a
String. |
String |
getServiceUnitState(String componentName,
String serviceUnitName)
Get the state of a service unit deployed to a component.
|
String |
shutDown(String serviceAssemblyName,
boolean force)
Shut down the service assembly.
|
String |
undeploy(String serviceAssemblyName,
boolean force)
Undeploys the given Service Assembly from the JBI environment.
|
String |
undeploy(String serviceAssemblyName,
boolean force,
boolean keep)
Undeploys the given Service Assembly from the JBI environment.
|
canDeployToComponent, deploy, getComponentsForDeployedServiceAssembly, getDeployedServiceAssemblies, getDeployedServiceAssembliesForComponent, getDeployedServiceUnitList, getServiceAssemblyDescriptor, getState, isDeployedServiceUnit, shutDown, start, stop, undeployString getServiceUnitState(String componentName, String serviceUnitName) throws JBIException
componentName - - the component nameserviceUnitName - - name of the service unitJBIException - if the component is not installed or if the
service unit is not deployed to the component.DeploymentServiceMBeanString getServiceUnitDescriptor(String serviceAssemblyName, String serviceUnitName) throws Exception
String.serviceAssemblyName - name of the service assembly to be queried;
must be non-null and non-emptyserviceUnitName - name of the service unit to be queried;
must be non-null and non-emptyException - if a processing error occursString deployFromRepository(String serviceAssemblyName) throws JBIException
serviceAssemblyName - - name of the registered service assembly.JBIException - if the service assembly is not registered or
deploy fails.String undeploy(String serviceAssemblyName, boolean force) throws Exception
serviceAssemblyName - name of the Service Assembly that is to be
undeployed; must be non-null and non-emptyforce - if this flag is set to true any undeployment errors thrown
from the component will be ignored as the service assembly is forcefully
undeployed.Exception - if compelete undeployment failsString undeploy(String serviceAssemblyName, boolean force, boolean keep) throws Exception
serviceAssemblyName - name of the Service Assembly that is to be
undeployed; must be non-null and non-emptyforce - if this flag is set to true any undeployment errors thrown
from the component will be ignored as the service assembly is forcefully
undeployed.keep - if true the service assembly archive should not be removed
from the domain. If false the archive is removed if the service
assembly is not deployed on any instances.Exception - if compelete undeployment failsString shutDown(String serviceAssemblyName, boolean force) throws Exception
serviceAssemblyName - name of the assembly to be shut down; must be
non-null and non-emptyforce - if this flag is true, the service assembly is shutdown forcefully.
Any exceptions thrown by the component for service unit shutdown are ignored.Exception - if there is no such assemblyException - if the assembly fails to shut downString getServiceAssemblyName(String serviceUnitName, String componentName) throws Exception
serviceUnitName - - service unit identifiercomponentName - - component identifierExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.