Example usage for org.aspectj.weaver.tools PointcutParser registerPointcutDesignatorHandler

List of usage examples for org.aspectj.weaver.tools PointcutParser registerPointcutDesignatorHandler

Introduction

In this page you can find the example usage for org.aspectj.weaver.tools PointcutParser registerPointcutDesignatorHandler.

Prototype

public void registerPointcutDesignatorHandler(PointcutDesignatorHandler designatorHandler) 

Source Link

Document

Register a new pointcut designator handler with this parser.

Usage

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;
}