spring-framework/org.springframework.integra...
Chris Beams d4123d0637 Support use of @Scheduled against JDK proxies
Prior to this change, ScheduledAnnotationBeanPostProcessor found any
@Scheduled methods against the ultimate targetClass for a given bean
and then attempted to invoke that method against the bean instance. In
cases where the bean instance was in fact a JDK proxy, this attempt
would fail because the proxy is not an instance of the target class.

Now SABPP still attempts to find @Scheduled methods against the target
class, but subsequently checks to see if the bean is a JDK proxy, and if
so attempts to find the corresponding method on the proxy itself. If it
cannot be found (e.g. the @Scheduled method was declared only at the
concrete class level), an appropriate exception is thrown, explaining to
the users their options: (a) use proxyTargetClass=true and go with
subclass proxies which won't have this problem, or (b) pull the
@Scheduled method up into an interface.

Issue: SPR-8651
2011-12-11 13:00:30 +00:00
..
.settings Fix obscure STS error 2011-03-31 14:28:08 +00:00
src Support use of @Scheduled against JDK proxies 2011-12-11 13:00:30 +00:00
.classpath [SPR-8222] Upgraded to JUnit 4.9. 2011-08-30 13:16:12 +00:00
.project
.springBeans Fix obscure STS error 2011-03-31 14:28:08 +00:00
build.xml
integration-tests.iml Revert "Introduce (Annotation)SessionFactoryBuilder types" 2011-10-09 07:55:52 +00:00
ivy.xml Revert "Introduce (Annotation)SessionFactoryBuilder types" 2011-10-09 07:55:52 +00:00
pom.xml
template.mf