| com.sun.jbi.ComponentQuery
All known Subclasses: com.sun.jbi.management.registry.xml.ComponentQueryImpl, com.sun.jbi.management.system.ScaffoldEnvironmentContext, com.sun.jbi.framework.ScaffoldRegistry,
ComponentQuery | public interface ComponentQuery (Code) | | This interface provides services for query of information about Binding
Components, Service Engines, and Shared Libraries.
author: Sun Microsystems, Inc. |
Method Summary | |
List | getComponentIds(ComponentType type) Get a list of component IDs for all registered components of a specified
type.
Parameters: type - The ComponentType: { BINDING, ENGINE, SHARED_LIBRARY, BINDINGS_AND_ENGINES, ALL }. | List<String> | getComponentIds(ComponentType type, ComponentState status) Get a list of component IDs for all components of a specified type with
a specified status.
Parameters: type - The ComponentType: { BINDING, ENGINE, SHARED_LIBRARY, BINDINGS_AND_ENGINES, ALL }. | ComponentInfo | getComponentInfo(String componentName) Get the ComponentInfo for a particular Component.
Parameters: componentName - The unique name of the component being retrieved. | List<String> | getDependentComponentIds(String sharedLibraryName) Get a list of component IDs that depend upon a specified Shared Library.
Parameters: sharedLibraryName - The unique name of the Shared Library. | ComponentInfo | getSharedLibraryInfo(String sharedLibraryName) Get the ComponentInfo for a particular Shared Library.
Parameters: sharedLibraryName - The unique name of the Shared Library beingretrieved. | ComponentState | getStatus(String componentName) Get the current status of a component.
Parameters: componentName - The unique component name. |
getComponentIds | List getComponentIds(ComponentType type)(Code) | | Get a list of component IDs for all registered components of a specified
type.
Parameters: type - The ComponentType: { BINDING, ENGINE, SHARED_LIBRARY, BINDINGS_AND_ENGINES, ALL }. ALL includes allcomponents regardless of their types.ComponentInfo.BINDINGS_AND_ENGINES includes both bindings and engines. A List of component IDs ( String ) of all registered componentsof the requested type. Returns an empty list of no components were found. |
getComponentIds | List<String> getComponentIds(ComponentType type, ComponentState status)(Code) | | Get a list of component IDs for all components of a specified type with
a specified status.
Parameters: type - The ComponentType: { BINDING, ENGINE, SHARED_LIBRARY, BINDINGS_AND_ENGINES, ALL }. ALL includes allcomponents regardless of their types.ComponentInfo.BINDINGS_AND_ENGINES includes both bindings and engines. Parameters: status - The Component status: ComponentState{LOADED, INSTALLED, STARTED, STOPPED} A List of component IDs ( String ) of all registered componentsof the requested type with the requested status. Returns an empty list ifno components were found. |
getComponentInfo | ComponentInfo getComponentInfo(String componentName)(Code) | | Get the ComponentInfo for a particular Component.
Parameters: componentName - The unique name of the component being retrieved. The ComponentInfo for the requested component or null if thecomponent is not registered. |
getDependentComponentIds | List<String> getDependentComponentIds(String sharedLibraryName)(Code) | | Get a list of component IDs that depend upon a specified Shared Library.
Parameters: sharedLibraryName - The unique name of the Shared Library. A list of the component IDs of all components that depend upon theShared Library. If none are found, the list is empty. |
getSharedLibraryInfo | ComponentInfo getSharedLibraryInfo(String sharedLibraryName)(Code) | | Get the ComponentInfo for a particular Shared Library.
Parameters: sharedLibraryName - The unique name of the Shared Library beingretrieved. The ComponentInfo for the requested Shared Library or null if theShared Library is not registered. |
|
|