I want to implement a generic proxy for spring services (let's assume it does simple logging at the end and beginning of method + execution time of a method).
I'm using spring
dependency injection and I want spring
to create dynamic proxy mentioned above when injecting services. Is there any way to define 'global' bean factory that is used when spring
creates objects?
I'm using @Autowired annotation
and I don't want to include each bean definition in xml, just trying to find generic solution.