I'm also observing that Spring AOP is not correctly applying AOP advice to beans created via FactoryBeans.
The 'wrapIfNecessary' method attempts to match the AOP pointcuts against the FactoryBean...
Type: Posts; User: sirianni; Keyword(s):
I'm also observing that Spring AOP is not correctly applying AOP advice to beans created via FactoryBeans.
The 'wrapIfNecessary' method attempts to match the AOP pointcuts against the FactoryBean...
howieB - can you elaborate? That link is dead.
I think the main reason for me is abstraction. For example, the main class that is instantiating the AnnotationConfigApplicationContext may only know of a single top-level @Configuration class to...
I've filed SPR-7194 for including @ComponentScan in Spring Core. Please vote for the issue if you'd like.
http://jira.springframework.org/browse/SPR-7194
Hi Chris,
One feature that seems to not have made it into Spring 3 is @ComponentScan. Is there an alternative way to do this in Spring 3 that I'm overlooking? If not, is this slated to be...
There doesn't seem to be a way to configure Spring so that imported bean definition files inherit the default-lazy-init behavior from the parent.
For example:
<beans ...
...
I am getting an error when trying to autowire the spring application context into a class.
Component
Scope("prototype")
public class ServerOperationFactory {
Autowired
private...
Thanks for the reply.
We are specifying the base-package attribute in our <component-scan> element.
But Spring still has to scan through all the JARs on the classpath looking for classes in...
We are using Spring DI with annotation-based configuration in an application that is not a long-running process. The component scanning portion of ApplicationContext initialization is taking a...