Package com.aspectran.core.context.rule
Class PointcutRule
- java.lang.Object
-
- com.aspectran.core.context.rule.PointcutRule
-
public class PointcutRule extends java.lang.Object
Pointcut 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 void
addPointcutPatternRule(PointcutPatternRule pointcutPatternRule)
java.util.List<PointcutPatternRule>
getPointcutPatternRuleList()
PointcutType
getPointcutType()
static PointcutRule
newInstance(java.lang.String type)
static PointcutRule
newInstance(java.lang.String[] patterns)
java.util.List<PointcutPatternRule>
newPointcutPatternRuleList()
java.util.List<PointcutPatternRule>
newPointcutPatternRuleList(int initialCapacity)
void
setPointcutPatternRuleList(java.util.List<PointcutPatternRule> pointcutPatternRuleList)
java.lang.String
toString()
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:
toString
in 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)
-
-