org.apache.aries.jmx.blueprint.impl
Class BlueprintState
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.apache.aries.jmx.blueprint.impl.BlueprintState
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, BlueprintStateMBean
public class BlueprintState
- extends NotificationBroadcasterSupport
- implements BlueprintStateMBean, MBeanRegistration
| Fields inherited from interface org.apache.aries.jmx.blueprint.BlueprintStateMBean |
BUNDLE_ID, BUNDLE_ID_ITEM, DEPENDENCIES, DEPENDENCIES_ITEM, EVENT_TYPE, EVENT_TYPE_ITEM, EXCEPTION_MESSAGE, EXCEPTION_MESSAGE_ITEM, EXTENDER_BUNDLE_ID, EXTENDER_BUNDLE_ID_ITEM, OBJECTNAME, OSGI_BLUEPRINT_EVENT_TYPE, OSGI_BLUEPRINT_EVENTS_TYPE, REPLAY, REPLAY_ITEM, TIMESTAMP, TIMESTAMP_ITEM |
|
Constructor Summary |
BlueprintState(org.osgi.framework.BundleContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLUEPRINT_EVENT
public static String BLUEPRINT_EVENT
BlueprintState
public BlueprintState(org.osgi.framework.BundleContext context)
getBlueprintBundleIds
public long[] getBlueprintBundleIds()
throws IOException
- Specified by:
getBlueprintBundleIds in interface BlueprintStateMBean
- Throws:
IOException
getLastEvent
public CompositeData getLastEvent(long bundleId)
throws IOException
- Specified by:
getLastEvent in interface BlueprintStateMBean
- Throws:
IOException
getLastEvents
public TabularData getLastEvents()
throws IOException
- Specified by:
getLastEvents in interface BlueprintStateMBean
- Throws:
IOException
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
- Specified by:
preRegister in interface MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister in interface MBeanRegistration
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister in interface MBeanRegistration
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister in interface MBeanRegistration
onEvent
protected void onEvent(org.osgi.service.blueprint.container.BlueprintEvent event)
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo in interface NotificationBroadcaster- Overrides:
getNotificationInfo in class NotificationBroadcasterSupport
- See Also:
NotificationBroadcasterSupport.getNotificationInfo()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.