Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Possible to check which aspects are on classpath

You can ask if a type is an aspect using the AjTypeSystem (
http://www.eclipse.org/aspectj/doc/next/aspectj5rt-api/org/aspectj/lang/reflect/AjTypeSystem.html
) but there is no api to tell you all the aspects.  You would have to
scan the classpath yourself and look inside the .class files to see if
they have the aspectj attributes attached.

Andy

On 14/04/2008, breaks <astaveley@xxxxxxxxx> wrote:
>
>  Hi,
>  Just wondering is possible to tell at runtime what aspects are on the
>  classpath?
>  Thanks
>
>
>
>  --
>  View this message in context: http://www.nabble.com/Possible-to-check-which-aspects-are-on-classpath-tp16678031p16678031.html
>  Sent from the AspectJ - users mailing list archive at Nabble.com.
>
>  _______________________________________________
>  aspectj-users mailing list
>  aspectj-users@xxxxxxxxxxx
>  https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top