Will proxy all interfaces that the given target implements.
Parameters: target - the target object to be proxied
AspectJProxyFactory
public AspectJProxyFactory(Class[] interfaces)(Code)
Create a new AspectJProxyFactory.
No target, only interfaces. Must add interceptors.
Method Detail
addAspect
public void addAspect(Object aspectInstance)(Code)
Add the supplied aspect instance to the chain. The type of the aspect instance
supplied must be a singleton aspect. True singleton lifecycle is not honoured when
using this method - the caller is responsible for managing the lifecycle of any
aspects added in this way.
Parameters: aspectInstance - the AspectJ aspect instance