|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hk2.component.InjectionManager
public class InjectionManager
InjectionManager is responsible for injecting resources into a component. Resources tagged for injection are identified via an annotation which is a parameter type of this class.
| Constructor Summary | |
|---|---|
InjectionManager()
|
|
| Method Summary | |
|---|---|
void |
inject(java.lang.Object component,
InjectionResolver... targets)
Initializes the component by performing injection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InjectionManager()
| Method Detail |
|---|
public void inject(java.lang.Object component,
InjectionResolver... targets)
component - component instance to inject
ComponentException - if injection failed for some reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||