public class CacheRegistryFilterExternalizer extends Object implements Externalizer<CacheRegistryFilter>
Constructor and Description |
---|
CacheRegistryFilterExternalizer() |
Modifier and Type | Method and Description |
---|---|
Class<? extends CacheRegistryFilter> |
getTargetClass()
Returns the target class of the object to externalize.
|
CacheRegistryFilter |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
CacheRegistryFilter object)
Writes the object reference to the stream.
|
public void writeObject(ObjectOutput output, CacheRegistryFilter object) throws IOException
Externalizer
writeObject
in interface Externalizer<CacheRegistryFilter>
output
- the object output to write toobject
- the object reference to writeIOException
- if an I/O error occurspublic CacheRegistryFilter 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<CacheRegistryFilter>
input
- the object input from which to readIOException
- if an I/O error occursClassNotFoundException
- if a class could not be foundpublic Class<? extends CacheRegistryFilter> getTargetClass()
Externalizer
getTargetClass
in interface Externalizer<CacheRegistryFilter>
Copyright © 2017 JBoss by Red Hat. All rights reserved.