|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.skife.intercept.signatures.NamedSignature
Matched all calls against a method with a specific name
Constructor Summary | |
NamedSignature(java.lang.String name)
|
Method Summary | |
boolean |
matches(java.lang.reflect.Method m)
Return true if m should be intercepted, false otherwise |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NamedSignature(java.lang.String name)
name
- Name of the method to match, a la Method.getName()
using the String.matches(...)
method.Method Detail |
public boolean matches(java.lang.reflect.Method m)
Signature
m
should be intercepted, false otherwise
matches
in interface Signature
name.matches(m.getName())
false otherwiseSignature.matches(java.lang.reflect.Method)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |