java.lang.Object | |
↳ | org.eclipse.sisu.launch.SisuExtender |
OSGi extender that uses Sisu and Guice to wire up applications from one or more component bundles.
To enable it install org.eclipse.sisu.inject.extender
, or adapt the class for your own extender.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected SisuTracker | tracker | Tracker of component bundles. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SisuExtender() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | start(BundleContext context) | ||||||||||
void | stop(BundleContext context) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
bundleStateMask()
Returns the mask of bundle states this extender is interested in.
| ||||||||||
MutableBeanLocator |
createLocator(BundleContext context)
Returns a new locator of bound components for this extender.
| ||||||||||
SisuTracker |
createTracker(BundleContext context)
Creates a new tracker of component bundles for this extender.
| ||||||||||
final MutableBeanLocator |
findLocator(BundleContext context)
Finds the locator associated with this extender; creates one if none exist.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.osgi.framework.BundleActivator
|
Returns the mask of bundle states this extender is interested in.
Returns a new locator of bound components for this extender.
context | The extender context |
---|
Creates a new tracker of component bundles for this extender.
context | The extender context |
---|
Finds the locator associated with this extender; creates one if none exist.
context | The extender context |
---|