Package org.infinispan.transaction.xa
Class GlobalTransaction.Externalizer
- java.lang.Object
-
- org.infinispan.transaction.xa.GlobalTransaction.Externalizer
-
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<GlobalTransaction>,org.infinispan.commons.marshall.Externalizer<GlobalTransaction>
- Enclosing class:
- GlobalTransaction
public static class GlobalTransaction.Externalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<GlobalTransaction>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Externalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetId()Set<Class<? extends GlobalTransaction>>getTypeClasses()GlobalTransactionreadObject(ObjectInput input)voidwriteObject(ObjectOutput output, GlobalTransaction gtx)
-
-
-
Method Detail
-
getTypeClasses
public Set<Class<? extends GlobalTransaction>> getTypeClasses()
- Specified by:
getTypeClassesin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<GlobalTransaction>
-
getId
public Integer getId()
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<GlobalTransaction>
-
writeObject
public void writeObject(ObjectOutput output, GlobalTransaction gtx) throws IOException
- Specified by:
writeObjectin interfaceorg.infinispan.commons.marshall.Externalizer<GlobalTransaction>- Throws:
IOException
-
readObject
public GlobalTransaction readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceorg.infinispan.commons.marshall.Externalizer<GlobalTransaction>- Throws:
IOExceptionClassNotFoundException
-
-