com.caucho.hessian.io
Class AnnotationSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
com.caucho.hessian.io.AnnotationSerializer
- All Implemented Interfaces:
- Serializer
public class AnnotationSerializer
- extends AbstractSerializer
Serializing a Java annotation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final java.util.logging.Logger log
NULL_ARGS
private static java.lang.Object[] NULL_ARGS
_annType
private java.lang.Class _annType
_methods
private java.lang.reflect.Method[] _methods
_methodSerializers
private AnnotationSerializer.MethodSerializer[] _methodSerializers
AnnotationSerializer
public AnnotationSerializer(java.lang.Class annType)
writeObject
public void writeObject(java.lang.Object obj,
AbstractHessianOutput out)
throws java.io.IOException
- Specified by:
writeObject
in interface Serializer
- Overrides:
writeObject
in class AbstractSerializer
- Throws:
java.io.IOException
writeObject10
protected void writeObject10(java.lang.Object obj,
AbstractHessianOutput out)
throws java.io.IOException
- Overrides:
writeObject10
in class AbstractSerializer
- Throws:
java.io.IOException
writeDefinition20
private void writeDefinition20(AbstractHessianOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
writeInstance
public void writeInstance(java.lang.Object obj,
AbstractHessianOutput out)
throws java.io.IOException
- Overrides:
writeInstance
in class AbstractSerializer
- Throws:
java.io.IOException
init
private void init(java.lang.Class cl)
getAnnotationType
private java.lang.Class getAnnotationType(java.lang.Class cl)
getMethodSerializer
private static AnnotationSerializer.MethodSerializer getMethodSerializer(java.lang.Class type)
error
static HessianException error(java.lang.reflect.Method method,
java.lang.Throwable cause)
Copyright 2003-2011. All Rights Reserved.