| java.lang.Object com.sun.jbi.management.registry.xml.ComponentQueryImpl
ComponentQueryImpl | public class ComponentQueryImpl implements com.sun.jbi.ComponentQuery(Code) | | This class encapsulates queries which are common to
all targets ( domain / server / cluster ).
author: Sun Microsystems, Inc. |
Method Summary | |
public List<String> | 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 }. | public 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 }. | public ComponentInfo | getComponentInfo(String componentName) Get the ComponentInfo for a particular Component.
Parameters: componentName - The unique name of the component being retrieved. | public List | 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. | public ComponentInfo | getSharedLibraryInfo(String sharedLibraryName) Get the ComponentInfo for a particular Shared Library.
Parameters: sharedLibraryName - The unique name of the Shared Library beingretrieved. | public ComponentState | getStatus(String componentName) Get the current status of a component.
Parameters: componentName - The unique component name. |
getComponentIds | public List<String> 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 | public 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, SHUTDOWN, 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 | public 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 | public List 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 | public 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. |
|
|