See: Description
| Class | Description |
|---|---|
| AnnotProxyFieldValueFactory |
IFieldValueFactory that uses LazyInitProxyFactory to create proxies for Spring
dependencies based on the SpringBean annotation applied to a field. |
| SpringComponentInjector |
IComponentInstantiationListener that injects component and behavior properties
annotated with SpringBean annotations. |
| Annotation Type | Description |
|---|---|
| SpringBean |
Annotation used to tag a field as a placeholder for a spring bean.
|
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 © 2006–2014 Apache Software Foundation. All rights reserved.