com.eurotech.framework.core.configuration
Class ComponentMetaTypeBundleTracker
java.lang.Object
org.osgi.util.tracker.BundleTracker<org.osgi.framework.Bundle>
com.eurotech.framework.core.configuration.ComponentMetaTypeBundleTracker
- All Implemented Interfaces:
- org.osgi.util.tracker.BundleTrackerCustomizer<org.osgi.framework.Bundle>
public class ComponentMetaTypeBundleTracker
- extends org.osgi.util.tracker.BundleTracker<org.osgi.framework.Bundle>
BundleTracker to track all the Service which have defaults in MetaType.
When the ConfigurableComponet is found it is then registered to the ConfigurationService.
Fields inherited from class org.osgi.util.tracker.BundleTracker |
context |
Method Summary |
org.osgi.framework.Bundle |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
|
void |
open()
|
Methods inherited from class org.osgi.util.tracker.BundleTracker |
close, getBundles, getObject, getTracked, getTrackingCount, isEmpty, modifiedBundle, remove, removedBundle, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentMetaTypeBundleTracker
public ComponentMetaTypeBundleTracker(org.osgi.framework.BundleContext context,
org.osgi.service.cm.ConfigurationAdmin configurationAdmin,
ConfigurationServiceImpl configurationService)
throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
open
public void open()
- Overrides:
open
in class org.osgi.util.tracker.BundleTracker<org.osgi.framework.Bundle>
addingBundle
public org.osgi.framework.Bundle addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
- Specified by:
addingBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer<org.osgi.framework.Bundle>
- Overrides:
addingBundle
in class org.osgi.util.tracker.BundleTracker<org.osgi.framework.Bundle>
Copyright © 2013. All Rights Reserved.