Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] API to match a join point signature string against a pointcut

Thanks a lot Andy this is pretty much what I had in mind. I think this
is the API I remember and I think this should do the trick for us.

Eric

On 27 November 2012 18:44, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
> Hi Eric,
>
> Spring does something a bit like this in how it uses AspectJ for matching
> things - but it doesn't quite use strings.  You could maybe look in
> Java15PointcutExpressionTest/PointcutExpressionTest which shows how to
> interact with pointcut matching once you have crafted a suitable shadow. If
> you could turn your string into a shadow, you could use something similar.
>
> cheers
> Andy
>
>
> On 20 November 2012 23:47, Eric Bodden <eric.bodden@xxxxxxxxxxxx> wrote:
>>
>> Hi all.
>>
>> I am building a tool that requires me to match, at runtime, the join
>> point signature string of a join point against an AspectJ-defined
>> pointcut. I seem to remember somewhere in the back of my head that
>> there once was an API to do just that. Does that API still exist? If
>> so, where can I find it?
>>
>> Cheers,
>> Eric
>>
>> --
>> Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
>> Head of Secure Software Engineering Group at EC SPRIDE
>> Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
>> Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
>> _______________________________________________
>> aspectj-dev mailing list
>> aspectj-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>
>
>
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>



-- 
Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


Back to the top