Package com.aspectran.core.context.rule
Class PointcutRule
- java.lang.Object
-
- com.aspectran.core.context.rule.PointcutRule
-
public class PointcutRule extends java.lang.ObjectPointcut are expressions that is matched with join points to determine whether advice needs to be executed or not. Pointcut uses different kinds of expressions that are matched with the join points and Aspectran uses the Wildcard pattern matching expression.
-
-
Constructor Summary
Constructors Constructor Description PointcutRule(PointcutType pointcutType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPointcutPatternRule(PointcutPatternRule pointcutPatternRule)java.util.List<PointcutPatternRule>getPointcutPatternRuleList()PointcutTypegetPointcutType()static PointcutRulenewInstance(java.lang.String type)static PointcutRulenewInstance(java.lang.String[] patterns)java.util.List<PointcutPatternRule>newPointcutPatternRuleList()java.util.List<PointcutPatternRule>newPointcutPatternRuleList(int initialCapacity)voidsetPointcutPatternRuleList(java.util.List<PointcutPatternRule> pointcutPatternRuleList)java.lang.StringtoString()java.util.List<PointcutPatternRule>touchPointcutPatternRuleList()
-
-
-
Constructor Detail
-
PointcutRule
public PointcutRule(PointcutType pointcutType)
-
-
Method Detail
-
getPointcutType
public PointcutType getPointcutType()
-
getPointcutPatternRuleList
public java.util.List<PointcutPatternRule> getPointcutPatternRuleList()
-
setPointcutPatternRuleList
public void setPointcutPatternRuleList(java.util.List<PointcutPatternRule> pointcutPatternRuleList)
-
addPointcutPatternRule
public void addPointcutPatternRule(PointcutPatternRule pointcutPatternRule)
-
touchPointcutPatternRuleList
public java.util.List<PointcutPatternRule> touchPointcutPatternRuleList()
-
newPointcutPatternRuleList
public java.util.List<PointcutPatternRule> newPointcutPatternRuleList()
-
newPointcutPatternRuleList
public java.util.List<PointcutPatternRule> newPointcutPatternRuleList(int initialCapacity)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newInstance
public static PointcutRule newInstance(java.lang.String type) throws IllegalRuleException
- Throws:
IllegalRuleException
-
newInstance
public static PointcutRule newInstance(java.lang.String[] patterns)
-
-