org.skife.intercept.signatures
Class ClassSignature

java.lang.Object
  |
  +--org.skife.intercept.signatures.ClassSignature
All Implemented Interfaces:
Signature

public class ClassSignature
extends java.lang.Object
implements Signature

Matches any method on a class assignable from a specific class. Calls against any implementation of the methods on the class specified will be matched -- including any implementation of methods on an interface if an interface is used, or calls against a subclass including methods overriding one on the specified class.


Constructor Summary
ClassSignature(java.lang.Class clazz)
           
 
Method Summary
 boolean matches(java.lang.reflect.Method m)
          See class documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSignature

public ClassSignature(java.lang.Class clazz)
Parameters:
clazz - Class to match method invocations from
Method Detail

matches

public boolean matches(java.lang.reflect.Method m)
See class documentation

Specified by:
matches in interface Signature