use of org.apache.aries.jmx.blueprint.codec.BPMetadata in project aries by apache.
the class BlueprintMetadata method getComponentMetadata.
public CompositeData getComponentMetadata(long containerServiceId, String componentId) throws IOException {
BlueprintContainer container = getBlueprintContainer(containerServiceId);
ComponentMetadata componentMetadata = container.getComponentMetadata(componentId);
BPMetadata metadata = Util.metadata2BPMetadata(componentMetadata);
return metadata.asCompositeData();
}
Aggregations