com.caucho.config.types
Class SignaturePattern

java.lang.Object
  extended by com.caucho.config.types.SignaturePattern

public class SignaturePattern
extends java.lang.Object


Constructor Summary
SignaturePattern()
           
 
Method Summary
 void addParam(java.lang.String typeName)
          Adds a method parameter.
 void addText(java.lang.String methodName)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean isMatch(java.lang.reflect.Method method)
           
 boolean isMatch(java.lang.String methodName, java.lang.Class[] params)
           
 void setHasParams()
          Sets the parameters to zero to distinguish between methods with zero arguments and methods which don't specify the requirements.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignaturePattern

public SignaturePattern()
Method Detail

addText

public void addText(java.lang.String methodName)
             throws ConfigException
Throws:
ConfigException

addParam

public void addParam(java.lang.String typeName)
Adds a method parameter.


setHasParams

public void setHasParams()
Sets the parameters to zero to distinguish between methods with zero arguments and methods which don't specify the requirements.


isMatch

public boolean isMatch(java.lang.reflect.Method method)

isMatch

public boolean isMatch(java.lang.String methodName,
                       java.lang.Class[] params)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object