public interface ManagementService
| Modifier and Type | Method and Description |
|---|---|
void |
export(java.lang.String name,
java.lang.String group,
java.lang.String description,
java.lang.Object instance)
Exposes an instance for management as a system resource.
|
void |
export(java.net.URI componentUri,
org.fabric3.api.model.type.java.ManagementInfo info,
java.util.function.Supplier<?> supplier)
Exposes a component for management.
|
void |
remove(java.lang.String name,
java.lang.String group)
Removes an instance from the underlying management framework.
|
void |
remove(java.net.URI componentUri,
org.fabric3.api.model.type.java.ManagementInfo info)
Removes a component from the underlying management framework.
|
void export(java.net.URI componentUri,
org.fabric3.api.model.type.java.ManagementInfo info,
java.util.function.Supplier<?> supplier)
throws org.fabric3.api.host.Fabric3Exception
componentUri - the component URIinfo - the management metadatasupplier - the Supplier responsible for returning the managed component instanceorg.fabric3.api.host.Fabric3Exception - if an error exposing the component is encounteredvoid export(java.lang.String name,
java.lang.String group,
java.lang.String description,
java.lang.Object instance)
throws org.fabric3.api.host.Fabric3Exception
name - the management namegroup - the management groupdescription - the instance descriptioninstance - the instanceorg.fabric3.api.host.Fabric3Exception - if an error exposing the instance is encounteredvoid remove(java.net.URI componentUri,
org.fabric3.api.model.type.java.ManagementInfo info)
throws org.fabric3.api.host.Fabric3Exception
componentUri - the component URIinfo - the management metadataorg.fabric3.api.host.Fabric3Exception - if an error removing the component is encounteredvoid remove(java.lang.String name,
java.lang.String group)
throws org.fabric3.api.host.Fabric3Exception
name - the management namegroup - the management grouporg.fabric3.api.host.Fabric3Exception - if an error removing the component is encountered