return hasInstanceAspects;
}
public void insertInterceptorStack(String stackName)
{
AdviceStack stack = AspectManager.instance().getAdviceStack(stackName);
if (stack == null) throw new RuntimeException("Stack " + stackName + " not found.");
ClassAdvisor classAdvisor = null;
Object inst = getInstance();
if (inst instanceof Advised)
{
Advised advised = (Advised) inst;
classAdvisor = ((ClassAdvisor) advised._getAdvisor());
}
int interceptorsAdded = 0;
for (InterceptorFactory factory : stack.getInterceptorFactories())
{
if (!factory.isDeployed()) continue;
Interceptor interceptor = factory.create(classAdvisor, null);
if (interceptor == null)
{