Method Summary |
|
HashMap | activateConnections(String saName) Activate Service Connections defined in the specified Service Assembly.
Parameters: saName - The name of the Service Assembly. |
public HashMap | activateConnections(String saName, boolean xmlMsg) Activate Service Connections defined in the specified Service Assembly.
Parameters: saName - The name of the Service Assembly. Parameters: xmlMsg - When set to true , requests that error messagesreturned in the HashMap be in XML management message format. |
public boolean | canDeployToComponent(String componentName) Get the status to see if SU can be deployed based on component state.
Parameters: componentName - The name of the component. |
HashMap | deactivateConnections(String saName) |
public String | deploy(String saZipURL) Deploy a Service Assembly (SA) to the JBI framework.
Parameters: saZipURL - The URL of the Service Assembly. |
public String | deployFromRepository(String serviceAssemblyName) Deploy a Service Assembly from the Repository. |
public void | disableStatistics() |
public void | enableStatistics() |
public ServiceUnitState | getActualServiceUnitState(String compName, String suName) Get the actual state of a service unit.
Parameters: compName - The ID of the component. Parameters: suName - The ID of the service unit. |
public ComponentState | getComponentState(String compName) Get the actual state of the component from the ComponentLifeCycleMBean.
Parameters: compName - The ID of the component. |
public String[] | getComponentsForDeployedServiceAssembly(String saName) Returns a list of components(to which SUs are targeted for)
in a Service Assembly. |
public Element | getConnectionsElement(String saName) |
HashMap | getConnectionsInfo(Element connectionElem, String saName) |
public String[] | getDeployedServiceAssemblies() Returns a list of Service Assemblies deployed to the JBI enviroment. |
public String[] | getDeployedServiceAssembliesForComponent(String componentName) Returns a list of Service Assemblies that contain SUs
for the given component. |
public String[] | getDeployedServiceUnitList(String componentName) Get list of deployed service units to the component.
Parameters: componentName - The name of the component. |
public ObjectName | getLifeCycleMBeanObjectName(String aCompName) returns the ObjectName for the lifecycle Mbean of this component. |
public Link | getLinkType(String fromEndpoint, String saName) Get the link-type for the Endpoint from the Service Units in the Service Assembly. |
public MBeanServerConnection | getMBeanServerConnection() |
public String | getServiceAssemblyDescriptor(String saName) Returns the descriptor of Service Assembly (SA) deployed. |
public ServiceAssemblyStatistics | getServiceAssemblyStatistics(String saName) |
public String | getServiceUnitDescriptor(String saName, String suName) Returns the descriptor of Service Unit(SU) deployed. |
public ServiceUnitInfo | getServiceUnitInfo(String compName, String suName) Get framework information on a service unit.
Parameters: compName - The ID of the component. Parameters: suName - The ID of the service unit. |
public String | getServiceUnitState(String componentName, String serviceUnitName) Get the state of a service unit deployed to a component. |
public String | getState(String serviceAssemblyName) |
protected void | initModelSystemService(com.sun.jbi.EnvironmentContext anEnv) local model init - called by constructor - create custom mbeans. |
String | initServiceAssembly(String saName) Initialize a Service Assembly. |
public boolean | isDeployedServiceUnit(String componentName, String serviceUnitName) Get the status of deployed service unit.
Parameters: componentName - The name of the component. Parameters: serviceUnitName - name of the service unit. |
public boolean | isStatisticsEnabled() |
public Iterator | listServiceAssemblies(String compName) |
public String | registerServiceUnit(String compName, String saName, String suName, String suRootPath) |
public void | removeStatsObject(String saName) This method is used to remove the statistics object of the given SA. |
public void | shutDown() Shut down the DeploymentService. |
public String | shutDown(String serviceAssemblyName) Shutdown the service assembly and puts it in
SHUTDOWN state.
Parameters: serviceAssemblyName - - name of the serviceassembly. |
public String | shutDown(String serviceAssemblyName, boolean force) Shut down the service assembly. |
public String | start(String serviceAssemblyName) Starts the service assembly and puts it in
STARTED state.
Parameters: serviceAssemblyName - - name of the serviceassembly. |
public void | startAllServiceAssemblies() Bring all Service Assemblies to their desired states. |
String | startServiceAssembly(String saName) Start a Service Assembly. |
public String | stop(String serviceAssemblyName) Stops the service assembly and puts it in
STOPPED state.
Parameters: serviceAssemblyName - - name of the serviceassembly. |
String | stopShutDownServiceAssembly(String saLifecycleMthdName, String saName, boolean force) |
public String | undeploy(String saName) Undeploy a Service Assembly from the JBI framework. |
public String | undeploy(String serviceAssemblyName, boolean force) Undeploys the given Service Assembly from the JBI environment.
Parameters: serviceAssemblyName - name of the Service Assembly that is to be undeployed; must be non-null and non-empty Parameters: force - if this flag is set to true any undeployment errors thrown from the component will be ignored as the service assembly is forcefullyundeployed. |
public String | undeploy(String saName, boolean force, boolean keep) Undeploys the given Service Assembly from the JBI environment.
Parameters: saName - name of the Service Assembly that is to be undeployed; must be non-null and non-empty Parameters: force - if this flag is set to true any undeployment errors thrown from the component will be ignored as the service assembly is forcefullyundeployed. Parameters: keep - if true the service assembly archive should not be removedfrom the domain. |
public String | unregisterServiceUnit(String compName, String suName) |
public String | updateSAState(String saName) Determines the appropriate state for a service assembly. |
public void | updateServiceAssemblyConnections(String compName) Activate the Service Connections if SA state is Started, deactivate the
connections if state is Stopped or Shutdown. |