Creating mixin with Spring AOP Introductions

Could someone provide a sample code snippet that stitches two java interfaces using spring-aop introduction (mixin)?

I'm looking for AspectJ annotation style configuration. Also, the specific use case I have is to stitch a few java beans each implementing their own interfaces together. So, rather than having a delegate coded, if I could just get away by using Spring XML, it'd be awesome.

6
задан Andrew Barber 28 December 2012 в 01:59
поделиться