public interface ComponentManager
| Modifier and Type | Method and Description |
|---|---|
Component |
getComponent(java.net.URI uri)
Returns the component with the given URI
|
java.util.List<Component> |
getComponents()
Returns a list of all registered components.
|
java.util.List<Component> |
getComponentsInHierarchy(java.net.URI uri)
Returns a list of components in the given structural URI.
|
java.util.List<Component> |
getDeployedComponents(java.net.URI contributionUri)
Returns a list of components provisioned by the given contribution.
|
void |
register(Component component)
Registers a component which will be managed by the runtime
|
Component |
unregister(java.net.URI uri)
Un-registers a component
|
void register(Component component) throws org.fabric3.api.host.Fabric3Exception
component - the componentorg.fabric3.api.host.Fabric3Exception - when an error occurs registering the componentComponent unregister(java.net.URI uri) throws org.fabric3.api.host.Fabric3Exception
uri - the component URI to un-registerorg.fabric3.api.host.Fabric3Exception - when an error occurs registering the componentComponent getComponent(java.net.URI uri)
uri - the component URIjava.util.List<Component> getComponents()
java.util.List<Component> getComponentsInHierarchy(java.net.URI uri)
uri - a URI representing the hierarchyjava.util.List<Component> getDeployedComponents(java.net.URI contributionUri)
contributionUri - the contribution URI