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

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

Introduction

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

Prototype

public static PointcutParser getPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution(
        Set<PointcutPrimitive> supportedPointcutKinds) 

Source Link

Document

Returns a pointcut parser that can parse pointcut expressions built from a user-defined subset of AspectJ's supported pointcut primitives.

Usage

From source file:com.gwtent.aop.matcher.AspectJExpress.java

License:Apache License

public AspectJExpress() {
    this.pointcutParser = PointcutParser
            .getPointcutParserSupportingSpecifiedPrimitivesAndUsingContextClassloaderForResolution(
                    DEFAULT_SUPPORTED_PRIMITIVES);
    this.pointcutParser.registerPointcutDesignatorHandler(new MatchClassPointcutDesignatorHandler());
}