|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
AnnotSpringInjector that will use this mock context as its source of beans.IFieldValueFactory that uses LazyInitProxyFactory to create proxies for Spring
dependencies based on the SpringBean annotation applied to a field.SpringBean annotationaddComponentInstantiationListener(new SpringComponentInjector(this));
TODO remove post 1.3IProxyTargetLocator that can locate beans within a spring application
context.IComponentInstantiationListener that injects component properties annotated with
SpringBean annotations.WebApplicationContextUtils.getRequiredWebApplicationContext(ServletContext)
SpringBean annotations for
injection rather then this spring-specific application subclass with its helpers. To
setup SpringBean add the following line to your WebApplication
subclass init method add(new SpringComponentInjector(this));
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||