Class AbstractPointcut
java.lang.Object
com.aspectran.core.component.aspect.pointcut.AbstractPointcut
- All Implemented Interfaces:
Pointcut
- Direct Known Subclasses:
RegexpPointcut
,WildcardPointcut
The Class AbstractPointcut.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists
(PointcutPattern pointcutPattern) protected boolean
exists
(PointcutPatternRule pointcutPatternRule, String transletName, String beanId, String className, String methodName) Returns whether corresponding to the point cut pattern rules.boolean
boolean
boolean
boolean
boolean
matches
(PointcutPattern pointcutPattern) boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.component.aspect.pointcut.Pointcut
clear, patternMatches, patternMatches
-
Constructor Details
-
AbstractPointcut
-
-
Method Details
-
getPointcutPatternRuleList
- Specified by:
getPointcutPatternRuleList
in interfacePointcut
-
hasMethodNamePattern
public boolean hasMethodNamePattern()- Specified by:
hasMethodNamePattern
in interfacePointcut
-
matches
-
matches
-
matches
-
matches
-
exists
-
exists
-
exists
-
exists
-
exists
protected boolean exists(@NonNull PointcutPatternRule pointcutPatternRule, String transletName, String beanId, String className, String methodName) Returns whether corresponding to the point cut pattern rules. It is recognized totrue
if the operands arenull
.- Parameters:
pointcutPatternRule
- the pointcut patterntransletName
- the translet namebeanId
- the bean idclassName
- the bean class namemethodName
- the name of the method that is executed in the bean- Returns:
- true if exists matched; false otherwise
-