[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Regeneration of Aspect instances if AspectDefinition is

2004-08-12 Thread rkadayam
Does anyone have any opinions/comments/solutions to this subject? Any thoughts/ideas would be much appreciated. Essentially I'm trying to modify aspect definition custom attribute values on the fly and re-generating the advice bindings but unfortunately the new values don't quite reflected in

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Regeneration of Aspect instances if AspectDefinition is

2004-06-11 Thread Bill Burke
I think only PER_INSTANCE aspects are created on-demand. The whole Aspect container for PER_VM, PER_CLASS, and PER_INSTANCE would have to be switched to get Aspect instances on demand. I do not want to add this overhead to the system. SO, I think an entire binding redeploy would be needed.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Regeneration of Aspect instances if AspectDefinition is

2004-06-11 Thread rkadayam
Actually I do recreate the AdviceBinding. Basically, 0. I first update the AspectDefinition in AspectManager. In the chain of invocations, AspectDefinition.clearAdvisors() is called and that basically does --- public void clearAdvisors() { for (Iterator it =