Although the ClassInstanceAdvisor.apsects is a WeakHashMap, the previously created 
aspect instances don't get removed until a "redeploy" of the whole application is 
done. I have a requirement of doing "on the fly" updates to aspect definitions and so 
would need the Aspect instances regenerated so that it does a fresh XmlLoadable.import 
to get the updates.

All of these internal datastructures are private and protected so I can't induce an 
explicit regeneration of the aspect instances or can I?

Would it be okay if AspectDefinition.clearAdvisors() to do an explicit cast of 
ClassInstanceAdvisors and clear this particular aspect instance , in fact is this a 
bug ? 

Any, thoughts ?

thanks
rajiv

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838536#3838536

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838536


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to