// add the advice to the aspectwerkz system
registerAdvice(uuid, adviceDef);
}
// add the pointcut definition to the method pointcut
pointcut.addPointcutDef(cflowPointcutDef);
// add references to the cflow advices to the cflow pointcut
pointcut.addBeforeAdvice(CFlowPreAdvice.NAME);
pointcut.addAfterAdvice(CFlowPostAdvice.NAME);
// add the method pointcut
aspect.addCallPointcut(pointcut);