Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Dynamic attachment of the aspect javaagent

We were looking at creating a tool that could be used without modifying an existing application.  An example might be to attach to a Tomcat web server where locating and modifying the start up (script, service, bat file) might be challenging.

Thanks,
Dick

-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
Sent: Tuesday, November 08, 2011 11:01 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Dynamic attachment of the aspect javaagent

Hi,

I don't recall the exact discussion about it from the mailing list.

Nothing has been actively done in this area - not sure we even have an
open bugzilla for an enhancement.

Completely dynamic attachment, I guess something might be possible
there if communicating with the JVMTI interface. Simpler might be to
run with javaagent but have it turned off (checking some kind of flag)
until something occurs that switches it on (sets that flag).

Do you have a specific use case that requires dynamic attachment?

cheers,
Andy

On 8 November 2011 08:27,  <Richard_Whitehurst@xxxxxxxxxx> wrote:
> A while back there were some questions about dynamically attaching the
> aspectj javaagent; has there been any progress on this, or was there not
> enough interest to pursue it?
>
>
>
> My apologies if this is documented somewhere and I missed it.
>
>
>
> Thanks
>
> Dick Whitehurst
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top