Package org.apache.wicket.cdi
Class BehaviorInjector
- java.lang.Object
-
- org.apache.wicket.cdi.BehaviorInjector
-
- All Implemented Interfaces:
IBehaviorInstantiationListener
public class BehaviorInjector extends Object implements IBehaviorInstantiationListener
Injects components with CDI dependencies- Author:
- igor
-
-
Constructor Summary
Constructors Constructor Description BehaviorInjector()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> void
inject(T instance)
void
onInstantiation(Behavior behavior)
Called when a behavior instance is createdprotected <T> void
postConstruct(T instance)
-
-
-
Constructor Detail
-
BehaviorInjector
public BehaviorInjector()
Constructor
-
-
Method Detail
-
onInstantiation
public void onInstantiation(Behavior behavior)
Description copied from interface:IBehaviorInstantiationListener
Called when a behavior instance is created- Specified by:
onInstantiation
in interfaceIBehaviorInstantiationListener
-
postConstruct
protected <T> void postConstruct(T instance)
-
inject
protected <T> void inject(T instance)
-
-