BlueprintState extends NotificationBroadcasterSupport implements BlueprintStateMBean, MBeanRegistration { public synchronized TabularData getLastEvents() throws IOException { TabularDataSupport table = new TabularDataSupport(BlueprintStateMBean.OSGI_BLUEPRINT_EVENTS_TYPE); table.putAll(dataMap); return table; } BlueprintState(BundleContext context); synchronized long[] getBlueprintBundleIds(); synchronized CompositeData getLastEvent(long bundleId); synchronized TabularData getLastEvents(); ObjectName preRegister(MBeanServer server, ObjectName name); void postRegister(Boolean registrationDone); void preDeregister(); void postDeregister(); @Override MBeanNotificationInfo[] getNotificationInfo(); static String BLUEPRINT_EVENT; }
@Test public void testGetLastEvents(){ }