Package org.apache.wicket.spring.injection.annot

This package contains all the classes to make your wicket components and other pojos @SpringBean annotation aware.

See:
          Description

Class Summary
AnnotProxyFieldValueFactory IFieldValueFactory that uses LazyInitProxyFactory to create proxies for Spring dependencies based on the SpringBean annotation applied to a field.
AnnotSpringInjector Injector that injects classes based on SpringBean annotation
AnnotSpringWebApplication Deprecated. instead in application.init() do addComponentInstantiationListener(new SpringComponentInjector(this)); TODO remove post 1.3
SpringComponentInjector IComponentInstantiationListener that injects component properties annotated with SpringBean annotations.
 

Annotation Types Summary
SpringBean Annotation used to tag a field as a placeholder for a spring bean.
 

Package org.apache.wicket.spring.injection.annot Description

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.



Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.