Class SerializerExternalizer
java.lang.Object
org.wildfly.clustering.marshalling.jboss.SerializerExternalizer
- All Implemented Interfaces:
Serializable, org.jboss.marshalling.Externalizer
An
Externalizer decorator for a Serializer.
N.B. This object is not serializable.- Author:
- Paul Ferraro
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerializerExternalizer(Serializer<?> serializer) Creates a new externalizer using the specified serializer. -
Method Summary
Modifier and TypeMethodDescriptioncreateExternal(Class<?> subjectType, ObjectInput input) voidwriteExternal(Object subject, ObjectOutput output)
-
Constructor Details
-
SerializerExternalizer
Creates a new externalizer using the specified serializer.- Parameters:
serializer- a serializer
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceorg.jboss.marshalling.Externalizer- Throws:
IOException
-
createExternal
- Specified by:
createExternalin interfaceorg.jboss.marshalling.Externalizer- Throws:
IOException
-