List of usage examples for org.aspectj.weaver.tools PointcutParser getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution
public static PointcutParser getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution()
if, cflow, and cflowbelow
pointcut designators are not supported From source file:org.anyframe.iam.admin.candidatesecuredresources.service.impl.CandidateSecuredResourcesServiceImpl.java
License:Apache License
public CandidateSecuredResourcesServiceImpl(CandidateSecuredResourcesDao candidateSecuredResourcesDao) { super(candidateSecuredResourcesDao); this.candidateSecuredResourcesDao = candidateSecuredResourcesDao; parser = PointcutParser.getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution(); }
From source file:org.springframework.aop.aspectj.TypePatternClassFilter.java
License:Apache License
/** * Set the AspectJ type pattern to match. * <p>Examples include:/*from w w w . j a v a 2 s.c o m*/ * <code class="code"> * org.springframework.beans.* * </code> * This will match any class or interface in the given package. * <code class="code"> * org.springframework.beans.ITestBean+ * </code> * This will match the {@code ITestBean} interface and any class * that implements it. * <p>These conventions are established by AspectJ, not Spring AOP. * @param typePattern the type pattern that AspectJ weaver should parse * @throws IllegalArgumentException if the supplied {@code typePattern} is {@code null} * or is recognized as invalid */ public void setTypePattern(String typePattern) { Assert.notNull(typePattern); this.typePattern = typePattern; this.aspectJTypePatternMatcher = PointcutParser .getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution() .parseTypePattern(replaceBooleanOperators(typePattern)); }