Element <map> |
Defines one mapping entry from a Java class to a Serializer and a Deserializer. |
Attribute deserializer | Translator: | object |
An instance of com.caucho.hessian.io.Deserializer to be used for
instances of "object-class". |
Attribute deserializer-class | Translator: | class |
A class implementing com.caucho.hessian.io.Deserializer that will be
constructed and used for instances of "object-class". That class must
have one public constructor taking one "class" argument.
Only one of "deserializer" and "deserializer-class" can be set in one "map"
element. If both are set, "serializer" will be used. |
Attribute object-class (required) (unique) | Translator: | class |
The class for which we define Caucho serializers/deserializers. |
Attribute serializer | Translator: | object |
An instance of com.caucho.hessian.io.Serializer to be used for
instances of "object-class". |
Attribute serializer-class | Translator: | class |
A class implementing com.caucho.hessian.io.Serializer that will be
constructed and used for instances of "object-class". That class must
have one public constructor taking one "class" argument.
Only one of "serializer" and "serializer-class" can be set in one "map"
element. If both are set, "serializer" will be used. |
Attribute strict-class | Translator: | boolean,default=true |
If "true", then any serialized object that is an exact instance of this
class (not a subclass) will use the serializers defined in this
contribution.
If "false", then any instance of this class (or any subclass) will use
the serializers defined in this contribution. |
Conversion Rules |
<conversion class="net.sourceforge.hiveremoting.caucho.CauchoSerializerContribution"
/>
|