| java.lang.Object | |
| ↳ | org.eclipse.sisu.launch.SisuExtensions |
SPI mechanism for discovering Module and Strategy extensions.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.eclipse.sisu.space.SpaceModule.Strategy
| |||||||||||
From interface
org.eclipse.sisu.wire.WireModule.Strategy
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| <T> List<T> |
create(Class<T> spi)
Creates instances of extensions listed under
META-INF/services/ fully-qualified-SPI-name ;
implementations must have a public no-arg constructor. | ||||||||||
| <T, C> List<T> |
create(Class<T> spi, Class<C> contextType, C context)
Creates instances of extensions listed under
META-INF/services/ fully-qualified-SPI-name ;
implementations must either have a public no-arg constructor or one with the declared context type. | ||||||||||
| static SisuExtensions |
global(ClassSpace space)
Returns global
SisuExtensions from the surrounding class space. | ||||||||||
| <C> void |
install(Binder binder, Class<C> contextType, C context)
Installs modules listed under
META-INF/services/com.google.inject.Module; modules must either have a
public no-arg constructor or one with the declared context type. | ||||||||||
| void |
install(Binder binder)
Installs modules listed under
META-INF/services/com.google.inject.Module; modules must have a public
no-arg constructor. | ||||||||||
| <T> List<Class<? extends T>> |
load(Class<T> spi)
Loads extension types listed under
META-INF/services/ fully-qualified-SPI-name. | ||||||||||
| static SisuExtensions |
local(ClassSpace space)
Returns local
SisuExtensions from the containing class space. | ||||||||||
| SpaceVisitor |
visitor(Binder binder)
SpaceModule strategy that lets META-INF/services/org.eclipse.sisu.space.SpaceVisitor extensions
override the default scanning. | ||||||||||
| Wiring |
wiring(Binder binder)
WireModule strategy that lets META-INF/services/org.eclipse.sisu.wire.Wiring extensions override
the default wiring. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.eclipse.sisu.space.SpaceModule.Strategy
| |||||||||||
From interface
org.eclipse.sisu.wire.WireModule.Strategy
| |||||||||||
Creates instances of extensions listed under META-INF/services/ fully-qualified-SPI-name ;
implementations must have a public no-arg constructor.
| spi | The extension SPI |
|---|
Creates instances of extensions listed under META-INF/services/ fully-qualified-SPI-name ;
implementations must either have a public no-arg constructor or one with the declared context type.
| spi | The extension SPI |
|---|---|
| contextType | Optional context type |
| context | Optional context instance |
Returns global SisuExtensions from the surrounding class space.
| space | The class space |
|---|
Installs modules listed under META-INF/services/com.google.inject.Module; modules must either have a
public no-arg constructor or one with the declared context type.
| binder | The current binder |
|---|---|
| contextType | Optional context type |
| context | Optional context instance |
Installs modules listed under META-INF/services/com.google.inject.Module; modules must have a public
no-arg constructor.
| binder | The current binder |
|---|
Loads extension types listed under META-INF/services/ fully-qualified-SPI-name.
| spi | The extension SPI |
|---|
Returns local SisuExtensions from the containing class space.
| space | The class space |
|---|
SpaceModule strategy that lets META-INF/services/org.eclipse.sisu.space.SpaceVisitor extensions
override the default scanning.
| binder | The binder |
|---|
WireModule strategy that lets META-INF/services/org.eclipse.sisu.wire.Wiring extensions override
the default wiring.
| binder | The binder |
|---|