public class SisuExtender
extends java.lang.Object
implements org.osgi.framework.BundleActivator
org.eclipse.sisu.inject.extender, or adapt the class for your own extender.| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.Long,MutableBeanLocator> |
locators |
protected SisuTracker |
tracker
Tracker of component bundles.
|
| Constructor and Description |
|---|
SisuExtender() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
bundleStateMask()
Returns the mask of bundle states this extender is interested in.
|
protected MutableBeanLocator |
createLocator(org.osgi.framework.BundleContext context)
Returns a new locator of bound components for this extender.
|
protected SisuTracker |
createTracker(org.osgi.framework.BundleContext context)
Creates a new tracker of component bundles for this extender.
|
protected MutableBeanLocator |
findLocator(org.osgi.framework.BundleContext context)
Finds the locator associated with this extender; creates one if none exist.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
private static final java.util.Map<java.lang.Long,MutableBeanLocator> locators
protected SisuTracker tracker
public void start(org.osgi.framework.BundleContext context)
start in interface org.osgi.framework.BundleActivatorpublic void stop(org.osgi.framework.BundleContext context)
stop in interface org.osgi.framework.BundleActivatorprotected int bundleStateMask()
protected SisuTracker createTracker(org.osgi.framework.BundleContext context)
context - The extender contextprotected MutableBeanLocator createLocator(org.osgi.framework.BundleContext context)
context - The extender contextprotected final MutableBeanLocator findLocator(org.osgi.framework.BundleContext context)
context - The extender context