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 IFieldValueFactorythat usesLazyInitProxyFactoryto create proxies for Spring dependencies based on theSpringBeanannotation applied to a field.SpringComponentInjector IComponentInstantiationListenerthat injects component and behavior properties annotated withSpringBeanannotations. -
Annotation Types Summary Annotation Type Description SpringBean Annotation used to tag a field as a placeholder for a spring bean.