org.infinispan.marshall.jboss.externalizers
Class ArrayListExternalizer

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

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

List externalizer dealing with ArrayList and LinkedList implementations.

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

Constructor Summary
ArrayListExternalizer()
           
 
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

ArrayListExternalizer

public ArrayListExternalizer()
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.