pointcutDef.setType(PointcutDefinition.METHOD);
definition.getAspectDefinition(AspectWerkzDefinition.SYSTEM_ASPECT).
addPointcutDef(pointcutDef);
// create a new controller definition
ControllerDefinition controllerDef = new ControllerDefinition();
controllerDef.setClassName(attribute);
controllerDef.setExpression(expression);
definition.getAspectDefinition(AspectWerkzDefinition.SYSTEM_ASPECT).
addControllerDef(controllerDef);
// add the pointcut pattern
controllerDef.addMethodPointcutPattern(pointcutDef);
counter++;
break;
}
}