|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.jmx.blueprint.impl.BlueprintMetadata
public class BlueprintMetadata
Field Summary |
---|
Constructor Summary | |
---|---|
BlueprintMetadata(org.osgi.framework.BundleContext bundleContext)
|
Method Summary | |
---|---|
long |
getBlueprintContainerServiceId(long bundleId)
Returns the blueprint container's service id if the bundle specified by the bundle id is a blueprint bundle. |
long[] |
getBlueprintContainerServiceIds()
Returns all the blueprint containers' service IDs, which successfully created from blueprint bundles. |
String[] |
getComponentIds(long containerServiceId)
Returns the list of component id. |
String[] |
getComponentIdsByType(long containerServiceId,
String type)
Returns all component ids of the specified component type |
CompositeData |
getComponentMetadata(long containerServiceId,
String componentId)
Returns the ComponentMetadata according to the its component id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlueprintMetadata(org.osgi.framework.BundleContext bundleContext)
Method Detail |
---|
public long getBlueprintContainerServiceId(long bundleId) throws IOException
BlueprintMetadataMBean
getBlueprintContainerServiceId
in interface BlueprintMetadataMBean
bundleId
- The bundle id of a blueprint bundle
IOException
- if the operation failspublic long[] getBlueprintContainerServiceIds() throws IOException
BlueprintMetadataMBean
getBlueprintContainerServiceIds
in interface BlueprintMetadataMBean
IOException
- if the operation failspublic String[] getComponentIds(long containerServiceId)
BlueprintMetadataMBean
getComponentIds
in interface BlueprintMetadataMBean
containerServiceId
- The blueprint container service id
public String[] getComponentIdsByType(long containerServiceId, String type)
BlueprintMetadataMBean
getComponentIdsByType
in interface BlueprintMetadataMBean
containerServiceId
- The blueprint container service idtype
- The string used to specify the type of component
public CompositeData getComponentMetadata(long containerServiceId, String componentId)
BlueprintMetadataMBean
BlueprintMetadataMBean.BEAN_METADATA_TYPE
,
BlueprintMetadataMBean.SERVICE_METADATA_TYPE
, BlueprintMetadataMBean.REFERENCE_METADATA_TYPE
, REFERENCE_LIST_METADATA_TYPE.
getComponentMetadata
in interface BlueprintMetadataMBean
containerServiceId
- The blueprint container service idcomponentId
- The component id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |