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