problem comes from the fact that if one puts @Configured/@Component and @Autowire spring annots on wicket classes and uses aspectj then component classes will get instrumented which is not what you want.
-igor On Tue, Feb 22, 2011 at 1:34 PM, Bruno Borges <bruno.bor...@gmail.com> wrote: > Hi everyone, > > A friend was playing with Wicket and Spring and suggested that the > Spring integration could have a injector that could call the > AutowireCapableFactory of Spring to process Spring-native annotations, like > @Autowired and @Value. > > @Override > public void onInstantiation(Component arg0) { > contextLocator.getSpringContext().getAutowireCapableBeanFactory().autowireBean(arg0); > } > > What do you guys think of this? > > Best regards, > > Bruno Borges > www.brunoborges.com.br > +55 21 76727099 > > "The glory of great men should always be > measured by the means they have used to > acquire it." > - Francois de La Rochefoucauld >