org.apache.geronimo.specs.activation
Class CommandMapBundleTrackerCustomizer

java.lang.Object
  extended by org.apache.geronimo.specs.activation.CommandMapBundleTrackerCustomizer
All Implemented Interfaces:
org.osgi.util.tracker.BundleTrackerCustomizer

public class CommandMapBundleTrackerCustomizer
extends Object
implements org.osgi.util.tracker.BundleTrackerCustomizer


Constructor Summary
CommandMapBundleTrackerCustomizer(Activator a, org.osgi.framework.Bundle b)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandMapBundleTrackerCustomizer

public CommandMapBundleTrackerCustomizer(Activator a,
                                         org.osgi.framework.Bundle b)
Method Detail

addingBundle

public Object addingBundle(org.osgi.framework.Bundle bundle,
                           org.osgi.framework.BundleEvent event)
Handle the activation of a new bundle.

Specified by:
addingBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer
Parameters:
bundle - The source bundle.
event - The bundle event information.
Returns:
A return object.

unregisterBundle

protected void unregisterBundle(org.osgi.framework.Bundle bundle)
Remove a bundle from our potential mailcap pool.

Parameters:
bundle - The potential source bundle.

modifiedBundle

public void modifiedBundle(org.osgi.framework.Bundle bundle,
                           org.osgi.framework.BundleEvent event,
                           Object object)
Specified by:
modifiedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer

removedBundle

public void removedBundle(org.osgi.framework.Bundle bundle,
                          org.osgi.framework.BundleEvent event,
                          Object object)
Specified by:
removedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.