JBoss.org Community Documentation
Any joinpoint that has been aspectized by the aopc
compiler or by a load time transformation
is set up to be able to have advices/interceptors added or removed from it at runtime. This is JBoss AOP's
first definition of Dynamic AOP. Using the prepare
action allows you to aspectize
any joinpoint in your application so that advices/interceptors can be applied later at runtime. The over
head of such a massaging of the bytecode is very minimal as it is just an extra boolean expression. The benefits
for search an architecture allow you to do things like deploy and undeploy metrics or statistic gathering
on a needed basis. If you are using AOP for testing (See "Testing with AOP"), it allows you to deploy/undeploy
testing aspects as you run your automated tests on your live system.