|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.inject.internal.SmoothieContainerImpl
public class SmoothieContainerImpl
SmoothieContainer implementation.
| Constructor Summary | |
|---|---|
SmoothieContainerImpl(com.google.inject.Module... modules)
|
|
| Method Summary | ||
|---|---|---|
|
get(com.google.inject.Key<T> key)
Get a component instance. |
|
com.google.inject.Injector |
injector(PluginWrapper plugin)
Returns the injector for a plugin. |
|
|
locate(com.google.inject.Key<T> key)
Locate components. |
|
void |
register(PluginWrapper plugin)
Register injection for a plugin. |
|
com.google.inject.Injector |
rootInjector()
Not officially part of SmoothieContainer API, exposed for Injectomatic. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmoothieContainerImpl(com.google.inject.Module... modules)
| Method Detail |
|---|
public com.google.inject.Injector rootInjector()
SmoothieContainer API, exposed for Injectomatic.
public void register(PluginWrapper plugin)
SmoothieContainer
register in interface SmoothieContainerpublic com.google.inject.Injector injector(PluginWrapper plugin)
SmoothieContainer
injector in interface SmoothieContainerpublic <Q extends Annotation,T> Iterable<org.sonatype.inject.BeanEntry<Q,T>> locate(com.google.inject.Key<T> key)
SmoothieContainer
locate in interface SmoothieContainerpublic <T> T get(com.google.inject.Key<T> key)
SmoothieContainer
get in interface SmoothieContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||