com.caucho.config.types
Class Signature

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

public class Signature
extends java.lang.Object

Configuration for a function signature.


Constructor Summary
Signature()
           
Signature(java.lang.String sig)
           
 
Method Summary
 void addText(java.lang.String value)
          Adds the text value to the signature.
 java.lang.String getClassName()
          Returns the class name
 java.lang.reflect.Method getMethod()
          Returns the method.
 java.lang.String getName()
          Returns the method name.
 java.lang.String[] getParameterTypes()
          Returns the method parameters.
 java.lang.String getReturnType()
          Returns the return type.
 java.lang.String getSignature()
          Returns the signature.
 void init()
          Initialize the signature.
 boolean matches(java.lang.reflect.Method method)
          Returns true if the method matches the signature.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Signature

public Signature()

Signature

public Signature(java.lang.String sig)
Method Detail

getSignature

public java.lang.String getSignature()
Returns the signature.


getName

public java.lang.String getName()
Returns the method name.


getClassName

public java.lang.String getClassName()
Returns the class name


getMethod

public java.lang.reflect.Method getMethod()
Returns the method.


getReturnType

public java.lang.String getReturnType()
Returns the return type.


getParameterTypes

public java.lang.String[] getParameterTypes()
Returns the method parameters. If null, then the parameters were not specified.


addText

public void addText(java.lang.String value)
Adds the text value to the signature.


init

@PostConstruct
public void init()
          throws ConfigException
Initialize the signature.

Throws:
ConfigException

matches

public boolean matches(java.lang.reflect.Method method)
Returns true if the method matches the signature.


toString

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