Hello Tim, Actually i was thinking the wrong way, 'cos i simply just needed to capture all methods and constructors of my delegates.
Best regards. On 5/10/07, Tim Halloran <[EMAIL PROTECTED]> wrote:
public aspect Cleanup { pointcut delegate() : call(* >DelegateFactory.getSomeDelegate()); after() : delegate() { // do some cleanup (probably need thisJoinPoint stuff) } } Is this what you are looking for? On 5/10/07, Andrej Amster <[EMAIL PROTECTED]> >wrote:I'm using EJB and Delegate patterns and when i'm constructing a delegate in client code within a method, then after execution of that method i
would
like to do some clean up calls. Is it possible to capture method in which i call DelegateFactory.getInstance().getSomeDelegate()? _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
