Class ExternalizerAdapter
- java.lang.Object
-
- org.wildfly.clustering.marshalling.jboss.ExternalizerAdapter
-
- All Implemented Interfaces:
Serializable,org.jboss.marshalling.Externalizer
public class ExternalizerAdapter extends Object implements org.jboss.marshalling.Externalizer
Adapts aExternalizerto a JBoss MarshallingExternalizer.- Author:
- Paul Ferraro
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalizerAdapter(Externalizer<?> externalizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateExternal(Class<?> subjectType, ObjectInput input)voidwriteExternal(Object subject, ObjectOutput output)
-
-
-
Constructor Detail
-
ExternalizerAdapter
public ExternalizerAdapter(Externalizer<?> externalizer)
-
-
Method Detail
-
writeExternal
public void writeExternal(Object subject, ObjectOutput output) throws IOException
- Specified by:
writeExternalin interfaceorg.jboss.marshalling.Externalizer- Throws:
IOException
-
createExternal
public Object createExternal(Class<?> subjectType, ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
createExternalin interfaceorg.jboss.marshalling.Externalizer- Throws:
IOExceptionClassNotFoundException
-
-