public abstract class PointCut extends java.lang.Object implements java.lang.Comparable<PointCut>, ClassAndMethodMatcher
TracerFactory which is
used during method invocations to create Tracers.| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_PRIORITY |
| Modifier | Constructor and Description |
|---|---|
protected |
PointCut(PointCutConfiguration config,
ClassMatcher classMatcher,
MethodMatcher methodMatcher) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PointCut pc) |
protected static MethodMatcher |
createExactMethodMatcher(java.lang.String methodName,
java.lang.String... methodDescriptions)
A convenience method for creating an or method matcher that excludes static methods.
|
protected static MethodMatcher |
createMethodMatcher(MethodMatcher... matchers)
A convenience method for creating an or method matcher that excludes static methods.
|
boolean |
equals(java.lang.Object obj) |
ClassMatcher |
getClassMatcher() |
MethodMatcher |
getMethodMatcher() |
java.lang.String |
getName() |
PointCutInvocationHandler |
getPointCutInvocationHandler() |
protected abstract PointCutInvocationHandler |
getPointCutInvocationHandlerImpl() |
int |
getPriority() |
int |
hashCode() |
boolean |
isDispatcher() |
boolean |
isEnabled() |
protected boolean |
isIgnoreTransaction()
True means the transaction should be ignored.
|
void |
noticeTransformerStarted(PointCutClassTransformer classTransformer) |
protected void |
setPriority(int priority) |
java.lang.String |
toString() |
protected static final int DEFAULT_PRIORITY
protected PointCut(PointCutConfiguration config, ClassMatcher classMatcher, MethodMatcher methodMatcher)
public MethodMatcher getMethodMatcher()
getMethodMatcher in interface ClassAndMethodMatcherpublic boolean isEnabled()
public ClassMatcher getClassMatcher()
getClassMatcher in interface ClassAndMethodMatcherpublic boolean isDispatcher()
public int getPriority()
protected void setPriority(int priority)
public final int compareTo(PointCut pc)
compareTo in interface java.lang.Comparable<PointCut>public void noticeTransformerStarted(PointCutClassTransformer classTransformer)
protected abstract PointCutInvocationHandler getPointCutInvocationHandlerImpl()
public final PointCutInvocationHandler getPointCutInvocationHandler()
protected boolean isIgnoreTransaction()
public java.lang.String toString()
toString in class java.lang.Objectprotected static MethodMatcher createMethodMatcher(MethodMatcher... matchers)
protected static MethodMatcher createExactMethodMatcher(java.lang.String methodName, java.lang.String... methodDescriptions)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String getName()