final class OSGiOMMetaFactoryLocator extends PriorityBasedOMMetaFactoryLocator implements org.osgi.util.tracker.BundleTrackerCustomizer
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.BundleContext |
apiBundleContext |
private java.util.List |
implementations |
| Constructor and Description |
|---|
OSGiOMMetaFactoryLocator(org.osgi.framework.BundleContext apiBundleContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event) |
OMMetaFactory |
getOMMetaFactory(java.lang.String feature)
Get the
OMMetaFactory for the given feature. |
void |
modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
java.lang.Object object) |
void |
removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
java.lang.Object object) |
loadImplementationsprivate final org.osgi.framework.BundleContext apiBundleContext
private final java.util.List implementations
OSGiOMMetaFactoryLocator(org.osgi.framework.BundleContext apiBundleContext)
public OMMetaFactory getOMMetaFactory(java.lang.String feature)
OMMetaFactoryLocatorOMMetaFactory for the given feature.getOMMetaFactory in interface OMMetaFactoryLocatorgetOMMetaFactory in class PriorityBasedOMMetaFactoryLocatorfeature - the requested featurenull if no meta factory with the given feature is
availablepublic java.lang.Object addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
addingBundle in interface org.osgi.util.tracker.BundleTrackerCustomizerpublic void modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
java.lang.Object object)
modifiedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizerpublic void removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
java.lang.Object object)
removedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer