I am developing a DM Server 2.0 based application (Spring 3.0.x).
I am using Proxy based AOP in DM Server Bundles. (CGLib)
I have defined an Aspect that acts on execution of all methods on a particular interface (say Intergace I) . Both Aspect and Interface are defined in a single Bundle (say Bundle A). If I define a class in Bundle A that Implements this interface I, then whenever the interface methods in that class is called, the aspect is invoked.
How can I declare a class in another Bundle (say Bundle B) that implements the interface I (exported from Bundle A) and have the aspect invoked whener methods on class in Bundle B is executed ?