public class CTPAspectJExpressionPointcut
extends org.springframework.aop.aspectj.AspectJExpressionPointcut
| 构造器和说明 |
|---|
CTPAspectJExpressionPointcut()
Create a new default AspectJExpressionPointcut.
|
CTPAspectJExpressionPointcut(Class<?> declarationScope,
String[] paramNames,
Class<?>[] paramTypes)
Create a new AspectJExpressionPointcut with the given settings.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.aop.ClassFilter |
getClassFilter() |
org.springframework.aop.MethodMatcher |
getMethodMatcher() |
org.aspectj.weaver.tools.PointcutExpression |
getPointcutExpression()
Return the underlying AspectJ pointcut expression.
|
boolean |
matches(Class<?> targetClass) |
boolean |
matches(Method method,
Class<?> targetClass) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setParameterNames(String... names)
Set the parameter names for the pointcut.
|
void |
setParameterTypes(Class<?>... types)
Set the parameter types for the pointcut.
|
void |
setPointcutDeclarationScope(Class<?> pointcutDeclarationScope)
Set the declaration scope for the pointcut.
|
equals, getCurrentProxiedBeanName, hashCode, isRuntime, matches, matches, toStringpublic CTPAspectJExpressionPointcut()
public CTPAspectJExpressionPointcut(Class<?> declarationScope, String[] paramNames, Class<?>[] paramTypes)
declarationScope - the declaration scope for the pointcutparamNames - the parameter names for the pointcutparamTypes - the parameter types for the pointcutpublic void setPointcutDeclarationScope(Class<?> pointcutDeclarationScope)
setPointcutDeclarationScope 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic void setParameterNames(String... names)
setParameterNames 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic void setParameterTypes(Class<?>... types)
setParameterTypes 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwaresetBeanFactory 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic org.springframework.aop.ClassFilter getClassFilter()
getClassFilter 在接口中 org.springframework.aop.PointcutgetClassFilter 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic org.springframework.aop.MethodMatcher getMethodMatcher()
getMethodMatcher 在接口中 org.springframework.aop.PointcutgetMethodMatcher 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic org.aspectj.weaver.tools.PointcutExpression getPointcutExpression()
getPointcutExpression 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutpublic boolean matches(Class<?> targetClass)
matches 在接口中 org.springframework.aop.ClassFiltermatches 在类中 org.springframework.aop.aspectj.AspectJExpressionPointcutCopyright © 2016–2017. All rights reserved.