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, toString
public 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.AspectJExpressionPointcut
public void setParameterNames(String... names)
setParameterNames
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
public void setParameterTypes(Class<?>... types)
setParameterTypes
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory
在接口中 org.springframework.beans.factory.BeanFactoryAware
setBeanFactory
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
public org.springframework.aop.ClassFilter getClassFilter()
getClassFilter
在接口中 org.springframework.aop.Pointcut
getClassFilter
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
public org.springframework.aop.MethodMatcher getMethodMatcher()
getMethodMatcher
在接口中 org.springframework.aop.Pointcut
getMethodMatcher
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
public org.aspectj.weaver.tools.PointcutExpression getPointcutExpression()
getPointcutExpression
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
public boolean matches(Class<?> targetClass)
matches
在接口中 org.springframework.aop.ClassFilter
matches
在类中 org.springframework.aop.aspectj.AspectJExpressionPointcut
Copyright © 2016–2017. All rights reserved.