public interface BlueprintStateMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLE_ID
The key BUNDLE_ID, used in
BUNDLE_ID_ITEM. |
static Item |
BUNDLE_ID_ITEM
The item containing the Blueprint bundle id associated with this event.
|
static String |
DEPENDENCIES
The key DEPENDENCIES, used in
DEPENDENCIES_ITEM. |
static Item |
DEPENDENCIES_ITEM
The item containing the filters identifying the missing dependencies that caused the WAITING, GRACE_PERIOD or FAILURE event.
|
static String |
EVENT_TYPE
The key EVENT_TYPE, used in
EVENT_TYPE_ITEM. |
static Item |
EVENT_TYPE_ITEM
The item containing the type of this event.
|
static String |
EXCEPTION_MESSAGE
The key EXCEPTION_MESSAGE, used in
#ERROR_MESSAGE_ITEM. |
static Item |
EXCEPTION_MESSAGE_ITEM
The item containing the exception message that cause this FAILURE event.
|
static String |
EXTENDER_BUNDLE_ID
The key EXTENDER_BUNDLE_ID, used in
EXTENDER_BUNDLE_ID_ITEM. |
static Item |
EXTENDER_BUNDLE_ID_ITEM
The item containing the Blueprint extender bundle id that is generating this event.
|
static String |
OBJECTNAME
The object name for this MBean.
|
static CompositeType |
OSGI_BLUEPRINT_EVENT_TYPE
The CompositeType for a blueprint event.
|
static TabularType |
OSGI_BLUEPRINT_EVENTS_TYPE
The Tabular Type for A list of blueprint events.
|
static String |
REPLAY
The key REPLAY, used in
REPLAY_ITEM. |
static Item |
REPLAY_ITEM
The item containing the flag that represents whether this event is a replay event.
|
static String |
TIMESTAMP
The key TIMESTAMP, used in
TIMESTAMP_ITEM. |
static Item |
TIMESTAMP_ITEM
The item containing the time at which this event was created.
|
| Modifier and Type | Method and Description |
|---|---|
long[] |
getBlueprintBundleIds()
Returns all the blueprint bundles' IDs, which are either
successfully created or not by current extender.
|
CompositeData |
getLastEvent(long bundleId)
Returns the BlueprintEvent associated with this blueprint container.
|
TabularData |
getLastEvents()
Returns all the last events associated with the blueprint bundles.
|
static final String OBJECTNAME
static final String BUNDLE_ID
BUNDLE_ID_ITEM.static final Item BUNDLE_ID_ITEM
BUNDLE_ID, and the type is SimpleType.LONG.static final String EXTENDER_BUNDLE_ID
EXTENDER_BUNDLE_ID_ITEM.static final Item EXTENDER_BUNDLE_ID_ITEM
EXTENDER_BUNDLE_ID, and the type is SimpleType.LONG.static final String REPLAY
REPLAY_ITEM.static final Item REPLAY_ITEM
REPLAY, and the type is SimpleType.BOOLEAN.static final String EVENT_TYPE
EVENT_TYPE_ITEM.static final Item EVENT_TYPE_ITEM
EVENT_TYPE, and the type is SimpleType.STRING.static final String TIMESTAMP
TIMESTAMP_ITEM.static final Item TIMESTAMP_ITEM
TIMESTAMP, and the type is SimpleType.LONG.static final String DEPENDENCIES
DEPENDENCIES_ITEM.static final Item DEPENDENCIES_ITEM
DEPENDENCIES, and the type is JmxConstants.STRING_ARRAY_TYPE.static final String EXCEPTION_MESSAGE
#ERROR_MESSAGE_ITEM.static final Item EXCEPTION_MESSAGE_ITEM
EXCEPTION_MESSAGE, and the type is SimpleType.STRING.static final CompositeType OSGI_BLUEPRINT_EVENT_TYPE
static final TabularType OSGI_BLUEPRINT_EVENTS_TYPE
OSGI_BLUEPRINT_EVENT_TYPE.CompositeData getLastEvent(long bundleId) throws IOException
OSGI_BLUEPRINT_EVENT_TYPE.bundleId - The bundle id of a blueprint bundleOSGI_BLUEPRINT_EVENT_TYPEIOException - if the operation failsIllegalArgumentException - if the bundle is not a blueprint bundleTabularData getLastEvents() throws IOException
OSGI_BLUEPRINT_EVENTS_TYPEIOException - if the operation failslong[] getBlueprintBundleIds()
throws IOException
IOException - if the operation failsCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.