Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Adding AOP to a third party applet

Use inpath (i believe)

if you are using ANT

ajc InjectStuff.aj -inpath <applet.jar> -outjar <aspectized-applet.jar>


On Thu, Mar 20, 2008 at 10:02 AM, Stephen de Vries
<stephen@xxxxxxxxxxxxxxxxxx> wrote:
>  Hi,
>  I would like to introduce a pointcut into a third party applet using
>  aspectj.  For example, I have the archive thirdparty.jar which
>  contains the applet: someone.elses.TheirApplet
>  And I have my own pointcut defined in InjectStuff.aj which should
>  execute after the constructor of someone.elses.TheirApplet.  How
>  should I package or call this so that my aspect is executed?
>  Can I weave the aspect in to existing compiled code, without having
>  the source?
>  (The FAQ has an answer for how to use AOP in Applets, but it assumes
>  that you compiled both the applet and the aspect.  In my case, I've
>  only compiled the aspect).
>  Any ideas?
>  _______________________________________________
>  aspectj-users mailing list
>  aspectj-users@xxxxxxxxxxx

Back to the top