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
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.
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 =