interceptors.add(factory);
}
else if (tag2.equals("stack-ref"))
{
String name = interceptorElement.getAttribute("name");
AdviceStack stack = manager.getAdviceStack(name);
if (stack == null) throw new Exception("there is no <stack> defined for name: " + name);
interceptors.addAll(stack.getInterceptorFactories());
}
else
{
AdviceType type = null;
if (!tag2.equals("advice"))