@Async in Spring it must be applied to public methods only self invocation – calling the async method...

Please Visit: http://ift.tt/1ajReyV

@Async in Spring
it must be applied to public methods only
self invocation – calling the async method from within the same class – won’t work
The reasons are simple – the method needs to be public so that it can be proxied. And self-invocation doesn’t work because it bypasses the proxy and calls the underlying method directly.
http://ift.tt/1bMXKqs
http://ift.tt/1DRcCKn


from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1DRcCKp
via LifeLong Community

No comments:

Post a Comment