| java.lang.Object | |
| ↳ | org.eclipse.sisu.launch.BundleModule |
Guice module that uses classpath-scanning and auto-wiring to bind JSR330 components from OSGi bundles.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected final SisuExtensions | extensions | Local bundle extensions to Sisu. | |||||||||
| protected final MutableBeanLocator | locator | Shared locator of bound components. | |||||||||
| protected final BundleClassSpace | space | Local bundle classes and resources. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BundleModule(Bundle bundle, MutableBeanLocator locator) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | configure(Binder binder) | ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Module |
contextModule()
Returns a module containing common context bindings for the bundle.
| ||||||||||
| Module |
extensionsModule()
Returns a module that installs modules from
META-INF/services/com.google.inject.Module. | ||||||||||
| Map<?, ?> |
getProperties()
Returns the properties associated with the current context.
| ||||||||||
| List<Module> |
modules()
Returns the list of configured binding modules for this bundle.
| ||||||||||
| Module |
spaceModule()
Returns a module that scans the bundle classpath for components.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.inject.Module
| |||||||||||
Returns a module containing common context bindings for the bundle.
Returns a module that installs modules from META-INF/services/com.google.inject.Module.
Returns the properties associated with the current context.
Returns the list of configured binding modules for this bundle.
Returns a module that scans the bundle classpath for components.