public abstract class ExtenderManager
extends java.lang.Object
implements org.osgi.framework.BundleListener
The extender capability relating to an implementation of
ExtenderManager
should be the only one provided by the containing
bundle. The capability will typically be provided via the
ProvideExtender
annotation on the implementing class.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OSGI_EXTENDER
The OSGi capability namespace for an extender.
|
Constructor and Description |
---|
ExtenderManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext cc) |
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
protected void |
deactivate(org.osgi.service.component.ComponentContext context) |
protected Log |
getLog() |
protected abstract boolean |
register(org.osgi.framework.Bundle bundle) |
protected void |
setLog(Log log) |
protected abstract void |
unregister(org.osgi.framework.Bundle bundle) |
protected void |
unsetLog(Log log) |
public static final java.lang.String OSGI_EXTENDER
protected void activate(org.osgi.service.component.ComponentContext cc)
protected Log getLog()
protected void deactivate(org.osgi.service.component.ComponentContext context) throws java.lang.Exception
java.lang.Exception
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
protected void setLog(Log log)
protected void unsetLog(Log log)
protected abstract boolean register(org.osgi.framework.Bundle bundle)
protected abstract void unregister(org.osgi.framework.Bundle bundle)