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 Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
.springBeans Fix obscure STS error 2011-03-31 14:28:08 +00:00
build.xml + upgrade to AspectJ 1.6.8 2010-02-04 11:46:21 +00:00
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 [SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1. 2010-12-30 08:00:58 +00:00
template.mf renamed .testsuite -> .integration-tests 2008-12-20 09:36:46 +00:00