BlueprintState extends NotificationBroadcasterSupport implements BlueprintStateMBean, MBeanRegistration { public synchronized long[] getBlueprintBundleIds() throws IOException { Long[] bundleIdKeys = dataMap.keySet().toArray(new Long[dataMap.size()]); long[] bundleIds = new long[bundleIdKeys.length]; for (int i = 0; i < bundleIdKeys.length; i++) { bundleIds[i] = bundleIdKeys[i]; } return bundleIds; } 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 testGetBlueprintBundleIds(){ }