abstract class TransactionAttributeSourcePointcut extends StaticMethodMatcherPointcut implements java.io.Serializable
TransactionAttributeSource
has an attribute for a given method.TRUE
Constructor and Description |
---|
TransactionAttributeSourcePointcut() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
protected abstract TransactionAttributeSource |
getTransactionAttributeSource()
Obtain the underlying TransactionAttributeSource (may be
null ). |
int |
hashCode() |
boolean |
matches(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Perform static checking whether the given method matches.
|
java.lang.String |
toString() |
getClassFilter, getMethodMatcher, setClassFilter
isRuntime, matches
public boolean matches(java.lang.reflect.Method method, @Nullable java.lang.Class<?> targetClass)
MethodMatcher
If this returns false
or if the MethodMatcher.isRuntime()
method returns false
, no runtime check (i.e. no
MethodMatcher.matches(java.lang.reflect.Method, Class, Object[])
call)
will be made.
matches
in interface MethodMatcher
method
- the candidate methodtargetClass
- the target class (may be null
, in which case
the candidate class must be taken to be the method's declaring class)public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
@Nullable protected abstract TransactionAttributeSource getTransactionAttributeSource()
null
).
To be implemented by subclasses.