| com.sun.jbi.ServiceUnitRegistration
All known Subclasses: com.sun.jbi.framework.ComponentRegistry,
ServiceUnitRegistration | public interface ServiceUnitRegistration (Code) | | This interface provides services for registration/unregistration/query of
Service Units.
author: Sun Microsystems, Inc. |
Method Summary | |
boolean | isServiceUnitRegistered(String componentName, String serviceUnitName) Check to see if a Service Unit with the specified name is registered
to the Component with the specified name.
Parameters: componentName - The unique Component name. Parameters: serviceUnitName - The unique Service Unit name. | void | registerServiceUnit(String componentName, String serviceAssemblyName, String serviceUnitName, String serviceUnitFilePath) Register a Service Unit that has been deployed to a particular BC or
SE. | void | unregisterServiceUnit(String componentName, String serviceUnitName) Unregister a Service Unit that has been undeployed from a particular BC
or SE. |
isServiceUnitRegistered | boolean isServiceUnitRegistered(String componentName, String serviceUnitName) throws javax.jbi.JBIException(Code) | | Check to see if a Service Unit with the specified name is registered
to the Component with the specified name.
Parameters: componentName - The unique Component name. Parameters: serviceUnitName - The unique Service Unit name. true if the name is registered, false if not. throws: javax.jbi.JBIException - if no Component exists with the specifiedcomponent name. |
registerServiceUnit | void registerServiceUnit(String componentName, String serviceAssemblyName, String serviceUnitName, String serviceUnitFilePath) throws javax.jbi.JBIException(Code) | | Register a Service Unit that has been deployed to a particular BC or
SE. This is done after a successful deployment operation.
Parameters: componentName - The unique name of the BC or SE. Parameters: serviceAssemblyName - The unique name of the Service Assembly. Parameters: serviceUnitName - The unique name of the Service Unit. Parameters: serviceUnitFilePath - The fully-qualified path to the Service Unitdeployment descriptor. throws: javax.jbi.JBIException - if no Component exists with the specifiedcomponent name or if there is already a Service Unit with the specifiedservice unit name registered to the component. |
unregisterServiceUnit | void unregisterServiceUnit(String componentName, String serviceUnitName) throws javax.jbi.JBIException(Code) | | Unregister a Service Unit that has been undeployed from a particular BC
or SE. This is done after a successful undeployment operation.
Parameters: componentName - The unique name of the BC or SE. Parameters: serviceUnitName - The unique name of the Service Unit. throws: javax.jbi.JBIException - if no Component exists with the specifiedcomponent name or if there is no Service Unit with the specifiedservice unit name registered to the component. |
|
|