public class SessionCreationMetaDataEntryExternalizer extends Object implements Externalizer<SessionCreationMetaDataEntry<Object>>
SessionCreationMetaDataEntry
Constructor and Description |
---|
SessionCreationMetaDataEntryExternalizer() |
Modifier and Type | Method and Description |
---|---|
Class |
getTargetClass()
Returns the target class of the object to externalize.
|
SessionCreationMetaDataEntry<Object> |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
SessionCreationMetaDataEntry<Object> entry)
Writes the object reference to the stream.
|
public SessionCreationMetaDataEntryExternalizer()
public void writeObject(ObjectOutput output, SessionCreationMetaDataEntry<Object> entry) throws IOException
Externalizer
writeObject
in interface Externalizer<SessionCreationMetaDataEntry<Object>>
output
- the object output to write toentry
- the object reference to writeIOException
- if an I/O error occurspublic SessionCreationMetaDataEntry<Object> readObject(ObjectInput input) throws IOException, ClassNotFoundException
Externalizer
Externalizer.writeObject(ObjectOutput, Object)
method. Implementations are free
to create instances of the object read from the stream in any way that they
feel like. This could be via constructor, factory or reflection.readObject
in interface Externalizer<SessionCreationMetaDataEntry<Object>>
input
- the object input from which to readIOException
- if an I/O error occursClassNotFoundException
- if a class could not be foundpublic Class getTargetClass()
Externalizer
getTargetClass
in interface Externalizer<SessionCreationMetaDataEntry<Object>>
Copyright © 2016 JBoss by Red Hat. All rights reserved.