cflowExpression = new PointcutExpressionParser(new StringReader(cflow)).CFlowExpression();
}
org.jboss.aop.advice.AdviceType internalAdviceType = getInternalAdviceType(binding.type());
AdviceFactory factory = null;
if (internalAdviceType == org.jboss.aop.advice.AdviceType.AROUND)
{
factory = new AdviceFactory(def, minfo.getName());
}
else
{
factory = new AdviceFactory(def, minfo.getName(), internalAdviceType);
}
manager.addInterceptorFactory(factory.getName(), factory);
InterceptorFactory[] fact = {factory};
String name = getAspectMethodBindingName(cf, minfo);
PointcutExpression pointcut = new PointcutExpression(name, pointcutString);
AdviceBinding abinding = new AdviceBinding(name, pointcut, cflowExpression, cflow, fact);
manager.addBinding(abinding);