By mitchp
via java.dzone.com
Published: Aug 30 2012 / 07:44
In an earlier post, I wrote about using the Spring BeanPostProcessor to inject cross-cutting concerns. That can easily be extended to inject a proxy more transparently across all beans in the application context. The key is to use the BeanFactoryPostProcessor in conjunction with the post-processor. Define a custom class that implements the factory post processor like the following:
Add your comment