public class CommandMapBundleTrackerCustomizer extends Object implements org.osgi.util.tracker.BundleTrackerCustomizer
Constructor and Description |
---|
CommandMapBundleTrackerCustomizer(Activator a,
org.osgi.framework.Bundle b) |
Modifier and Type | Method and Description |
---|---|
Object |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
Handle the activation of a new bundle.
|
void |
modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object) |
void |
removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object) |
protected void |
unregisterBundle(org.osgi.framework.Bundle bundle)
Remove a bundle from our potential mailcap pool.
|
public CommandMapBundleTrackerCustomizer(Activator a, org.osgi.framework.Bundle b)
public Object addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event)
addingBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
bundle
- The source bundle.event
- The bundle event information.protected void unregisterBundle(org.osgi.framework.Bundle bundle)
bundle
- The potential source bundle.public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object)
modifiedBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object)
removedBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
Copyright © 2013. All rights reserved.