[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Activing / de-activing aspectjweaver agent without stopping the JVM

Hi all,

Activing / de-activing aspectjweaver LTW agent without stopping the JVM ?

A similar question, but not exactly the same, was asked few days ago.


It seems it is not possible today with the version 1.6.x of Aspectj.


Does the modification of the agent would be heavy to have the features described below:

- stopping agent aspectjweaver by sending a signal on the pid of the java process  and catching it ( we can do it, for example  with the non-documented classes sun…)

- modifying the aop.xml file configuration ( scope of the concrete  aspects, add new aspects …)

- starting the agent with the new aop.xml by sending the same signal or another


See JIProf  profiler project. It does the start and stop for its agent (http://sourceforge.net/projects/jiprof/)



Does it only a dream ? ;-)


Cordialement / Best regards


Jean-Louis Pasturel



This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration.
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.