org.apache.felix.ipojo.handler.extender
Class ExtenderManager
java.lang.Object
org.apache.felix.ipojo.handler.extender.BundleTracker
org.apache.felix.ipojo.handler.extender.ExtenderManager
public class ExtenderManager
- extends BundleTracker
Track and manage extensions.
- Author:
- Felix Project Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtenderManager
public ExtenderManager(ExtenderModelHandler handler,
String extension,
String bind,
String unbind)
- Constructor.
- Parameters:
handler
- the attached handler.extension
- the looked extension.bind
- the onArrival methodunbind
- the onDeparture method.
addedBundle
protected void addedBundle(Bundle bundle)
- A bundle arrives.
Checks if the bundle match with the looked extension, if so call the arrival callback.
- Specified by:
addedBundle
in class BundleTracker
- Parameters:
bundle
- the arriving bundle.- See Also:
BundleTracker.addedBundle(org.osgi.framework.Bundle)
removedBundle
protected void removedBundle(Bundle bundle)
- A bundle is stopping.
Check if the bundle was managed, if so call the remove departure callback.
- Specified by:
removedBundle
in class BundleTracker
- Parameters:
bundle
- the leaving bundle.- See Also:
BundleTracker.removedBundle(org.osgi.framework.Bundle)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.