com.caucho.hessian.io
Class AnnotationInvocationHandler

java.lang.Object
  extended by com.caucho.hessian.io.AnnotationInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class AnnotationInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Proxy for a java annotation for known object types.


Constructor Summary
AnnotationInvocationHandler(java.lang.Class annType, java.util.HashMap<java.lang.String,java.lang.Object> valueMap)
           
 
Method Summary
 boolean doEquals(java.lang.Object value)
           
 int doHashCode()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationInvocationHandler

public AnnotationInvocationHandler(java.lang.Class annType,
                                   java.util.HashMap<java.lang.String,java.lang.Object> valueMap)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

doHashCode

public int doHashCode()

doEquals

public boolean doEquals(java.lang.Object value)

toString

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