List of usage examples for org.aspectj.weaver.tools PointcutParser registerPointcutDesignatorHandler
public void registerPointcutDesignatorHandler(PointcutDesignatorHandler designatorHandler)
From source file:org.springframework.aop.aspectj.AspectJExpressionPointcut.java
License:Apache License
/** * Initialize the underlying AspectJ pointcut parser. *//* w w w . j a v a 2s . c o m*/ private PointcutParser initializePointcutParser(ClassLoader cl) { PointcutParser parser = PointcutParser .getPointcutParserSupportingSpecifiedPrimitivesAndUsingSpecifiedClassLoaderForResolution( SUPPORTED_PRIMITIVES, cl); parser.registerPointcutDesignatorHandler(new BeanNamePointcutDesignatorHandler()); return parser; }