Is there a way to enable disable aspects/proxying at run-time ?
Below are my bean definitions.
Basically, I am applying spring's PerformanceMonitorInterceptor as my advisor
<aop:pointcut id="executePointCut" expression="execution(* IDao.execute*(..))" />
for all objects that impl my interface IDao and for the methods that match the
The aop configs work fine and I am able to get the performance metrics
from PerformanceMonitorInterceptor ..
But how would I enable/disable this proxying at run-time ?