Method Summary |
|
void | commitComponent(String componentName) Commit a Binding Component or a Service Engine. |
List | getAllComponents() Get a list of all installed Components (Binding Components and Service
Engines). |
List | getAllSharedLibraries() Get a list of all installed Shared Libraries. |
Component | getComponent(String componentName) Look up a component (Binding Component or Service Engine) using its
unique name. |
List<String> | getComponentIdsFromCache(ComponentType type, ComponentState status) Get a list of component IDs of the specified type, with the
specified status.
Parameters: type - The type of component for which the IDs are requested. Parameters: status - The status for which the IDs are requested. |
List | getDependents(String sharedLibraryName) Return a list of all components dependent upon the specified Shared
Library.
Parameters: sharedLibraryName - - the name of the Shared Library. |
SharedLibrary | getSharedLibrary(String sharedLibraryName) Look up a SharedLibrary object using its assigned name.
Parameters: sharedLibraryName - The unique name of the Shared Library. |
public ComponentState | getStatus(String componentName) Get the current state of a Binding Component or Service Engine. |
public void | initService(com.sun.jbi.EnvironmentContext context) Initialize the Component Registry service. |
boolean | isComponentRegistered(String componentName) Check to see if a component with the specified name is registered.
Parameters: componentName - is the component name to check for. |
public boolean | isServiceUnitRegistered(String componentName, String serviceUnitName) Check to see if a Service Unit with the specified name is registered to
the specified BC or SE.
Parameters: componentName - is the unique name of the BC or SE to check. Parameters: serviceUnitName - is the unique name of the Service Unit to checkfor. |
boolean | isSharedLibraryRegistered(String sharedLibraryName) Check to see if a Shared Library with the specified name is registered.
Parameters: sharedLibraryName - is the Shared Library to check for. |
void | registerComponent(Component component) Register a Binding Component or a Service Engine. |
public synchronized 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 | registerSharedLibrary(SharedLibrary sharedLib) Register the unique name and class path for a Shared Library. |
void | removeComponent(String componentName) Remove a Binding Component or a Service Engine from the registry after
a failed installation This is used when the registry entry has not yet
been propagated to the persistent registry. |
public void | startService() Start the Component Registry service. |
public void | stopService() Stop the Component Registry service. |
void | unregisterComponent(String componentName) Unregister a Binding Component or a Service Engine. |
public void | unregisterServiceUnit(String componentName, String serviceUnitName) Unregister a Service Unit that has been undeployed from a particular BC
or SE. |
void | unregisterSharedLibrary(String sharedLibraryName) Unregister a Shared Library. |