As far as I know this is still impossible with AspectJ. I remember some discussion about making them "disableable" at the AOSD conference two years ago but for some reason that never happened (maybe because nobody liked the word ;-)). That feature would however only guard every advice application with a Boolean flag, something you can easily do yourself with an if-pointcut.
Eric On 16/09/2007, Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > Hi, > I would like to dynamically undeploy aspects at runtime. I know > that LTW deploys aspects at load time. I had to change the classpath > of WebSphere Portal and restart it so that it detected by new aspects. > > Can I deploy and undeploy aspects at runtime ? Something like > OSGI does for classloaders - detect aspect bundles at runtime. > > > Thanks, > Mohan > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > -- Eric Bodden Sable Research Group McGill University, Montréal, Canada _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
