[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Caller method
|
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 <
hallorant@xxxxxxxxx> 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 <
amster1981@xxxxxxxxx> >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
>>
aspectj-users@xxxxxxxxxxx>>
https://dev.eclipse.org/mailman/listinfo/aspectj-users>>
>>