spring-framework/org.springframework.context
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 Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
src Support use of @Scheduled against JDK proxies 2011-12-11 13:00:30 +00:00
.classpath Upgrade to Hibernate Validator 4.2.0.Final 2011-12-09 13:09:11 +00:00
.project Revert accidental changes in Eclipse/pom metadata 2011-12-09 13:08:37 +00:00
.springBeans Remove "Feature" support introduced in 3.1 M1 2011-05-06 19:03:52 +00:00
build.xml + upgrade to AspectJ 1.6.8 2010-02-04 11:46:21 +00:00
context.iml Upgrade to Hibernate Validator 4.2.0.Final 2011-12-09 13:09:11 +00:00
ivy.xml used specific SLF4J versions for running the test suites of individual modules (fixing the Hibernate Validator 4.2 upgrade) 2011-12-09 17:53:29 +00:00
pom.xml Upgrade to Hibernate Validator 4.2.0.Final 2011-12-09 13:09:11 +00:00
template.mf cleanup of conversation dependencies 2011-10-20 09:56:07 +00:00