|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.injection.ComponentInjector
public class ComponentInjector
Enables your application to do dependency injection. To use, register the injector as a
IComponentInstantiationListener like this:
... (in your application's constructor or init method)
addComponentInstantiationListener(new ComponentInjector());
...
IComponentInstantiationListener,
Application.addComponentInstantiationListener(org.apache.wicket.application.IComponentInstantiationListener)| Constructor Summary | |
|---|---|
ComponentInjector()
Construct. |
|
| Method Summary | |
|---|---|
void |
onInstantiation(Component component)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentInjector()
| Method Detail |
|---|
public void onInstantiation(Component component)
onInstantiation in interface IComponentInstantiationListenerIComponentInstantiationListener.onInstantiation(org.apache.wicket.Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||