public CompositeData getComponentMetadata(long containerServiceId, String componentId) {
BlueprintContainer container = getBlueprintContainer(containerServiceId);
ComponentMetadata componentMetadata = container.getComponentMetadata(componentId);
BPMetadata metadata = Util.metadata2BPMetadata(componentMetadata);
return metadata.asCompositeData();
}
private BlueprintContainer getBlueprintContainer(long containerServiceId) {
String filter = "(" + Constants.SERVICE_ID + "=" + containerServiceId + ")";
ServiceReference[] serviceReferences = null;