Package org.apache.wicket.spring.injection.annot
This package contains all the classes to make your wicket components and other pojos @SpringBean annotation aware.
To setup automatic injection of wicket components in your application subclass init() method call:
addComponentInstantiationListener(new SpringComponentInjector(this));
To inject any pojo call InjectorHolder.getInjector().inject(this)
in the pojo's constructor.
-
Class Summary Class Description AnnotProxyFieldValueFactory IFieldValueFactory
that usesLazyInitProxyFactory
to create proxies for Spring dependencies based on theSpringBean
annotation applied to a field.SpringComponentInjector IComponentInstantiationListener
that injects component and behavior properties annotated withSpringBean
annotations. -
Annotation Types Summary Annotation Type Description SpringBean Annotation used to tag a field as a placeholder for a spring bean.