public interface ComponentQuery
| Modifier and Type | Method and Description |
|---|---|
List |
getComponentIds(ComponentType type)
Get a list of component IDs for all registered components of a specified
type.
|
List<String> |
getComponentIds(ComponentType type,
ComponentState status)
Get a list of component IDs for all components of a specified type with
a specified status.
|
ComponentInfo |
getComponentInfo(String componentName)
Get the ComponentInfo for a particular Component.
|
List<String> |
getDependentComponentIds(String sharedLibraryName)
Get a list of component IDs that depend upon a specified Shared Library.
|
ComponentInfo |
getSharedLibraryInfo(String sharedLibraryName)
Get the ComponentInfo for a particular Shared Library.
|
ComponentState |
getStatus(String componentName)
Get the current status of a component.
|
List getComponentIds(ComponentType type)
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.List<String> getComponentIds(ComponentType type, ComponentState status)
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.status - The Component status: ComponentState{LOADED, INSTALLED, STARTED,
STOPPED}ComponentInfo getComponentInfo(String componentName)
componentName - The unique name of the component being retrieved.ComponentInfo getSharedLibraryInfo(String sharedLibraryName)
sharedLibraryName - The unique name of the Shared Library being
retrieved.List<String> getDependentComponentIds(String sharedLibraryName)
sharedLibraryName - The unique name of the Shared Library.ComponentState getStatus(String componentName) throws JBIException
componentName - The unique component name.JBIException - if the component name is not registered.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.