:))))
On 6/8/07, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote:
See here
http://en.wikipedia.org/wiki/Monty_Python's_Life_of_Brian
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Bora Erbas
>Sent: 08 June 2007 11:20
>To: [email protected]
>Subject: Re: [aspectj-users] PointCut
>
>Who is Brian :)
>
>On 6/8/07, Paul Bergin <[EMAIL PROTECTED]> wrote:
>> Thanks Brian,
>> That worked perfectly :-)
>>
>>
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] On Behalf Of Bora Erbas
>> >Sent: 08 June 2007 10:38
>> >To: [email protected]
>> >Subject: Re: [aspectj-users] PointCut
>> >
>> >Use pcd: if(booleanCheck()) like:
>> >
>> > call(public String
>> > MyObject.methodOne(String,String,String)
>> > && args(val1,
>> > val2,
>> > val3)
>> > && if (booleanCheck());
>> >
>> >On 6/8/07, Paul Bergin <[EMAIL PROTECTED]> wrote:
>> >> Hi
>> >> I have a method (booleanCheck) which returns a boolean value, if
>> >> the value returns true I want the aspect to run. Here is my
>> >> pointcut definition
>> >>
>> >> public pointcut methodOne(String val1,String
>> >val2,String val3) :
>> >>
>> >> call(public String
>> >> MyObject.methodOne(String,String,String)
>> >> && args(val1,
>> >> val2,
>> >> val3)
>> >> && call (boolean booleanCheck());
>> >>
>> >> If I remove the final call to booleanCheck the aspect fires
>> >correctly,
>> >> but when I add the check and it doesn't fire if it
>returns true of
>> >> false.
>> >> What am I doing wrong?
>> >>
>> >> Cheers
>> >> P
>> >> _______________________________________________
>> >> 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
>> >
>> _______________________________________________
>> 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
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
* ** *** ** * ** *** ** * ** *** ** *
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Any views or opinions presented are solely those of the author, and do not
necessarily
represent those of ESB.
If you have received this email in error please notify the sender.
Although ESB scans e-mail and attachments for viruses, it does not guarantee
that either are virus-free and accepts no liability for any damage sustained
as a result of viruses.
Company Registration Information: http://www.esb.ie/companies
* ** *** ** * ** *** ** * ** *** ** *
_______________________________________________
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