org.infinispan.marshall.jboss.externalizers
Class SetExternalizer

java.lang.Object
  extended by org.infinispan.marshall.jboss.externalizers.SetExternalizer
All Implemented Interfaces:
Serializable, org.jboss.marshalling.Externalizer

@Immutable
public class SetExternalizer
extends Object
implements org.jboss.marshalling.Externalizer

Set externalizer for all set implementations, i.e. HashSet and TreeSet

Since:
4.0
Author:
Galder ZamarreƱo
See Also:
Serialized Form

Constructor Summary
SetExternalizer()
           
 
Method Summary
 Object createExternal(Class<?> subjectType, ObjectInput input, org.jboss.marshalling.Creator defaultCreator)
           
 void readExternal(Object subject, ObjectInput input)
           
 void writeExternal(Object subject, ObjectOutput output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetExternalizer

public SetExternalizer()
Method Detail

writeExternal

public void writeExternal(Object subject,
                          ObjectOutput output)
                   throws IOException
Specified by:
writeExternal in interface org.jboss.marshalling.Externalizer
Throws:
IOException

createExternal

public Object createExternal(Class<?> subjectType,
                             ObjectInput input,
                             org.jboss.marshalling.Creator defaultCreator)
                      throws IOException,
                             ClassNotFoundException
Specified by:
createExternal in interface org.jboss.marshalling.Externalizer
Throws:
IOException
ClassNotFoundException

readExternal

public void readExternal(Object subject,
                         ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface org.jboss.marshalling.Externalizer
Throws:
IOException
ClassNotFoundException


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.