Class PropagationContextWrapper
- java.lang.Object
-
- com.arjuna.ats.internal.jbossatx.jts.PropagationContextWrapper
-
- All Implemented Interfaces:
Externalizable,Serializable
public class PropagationContextWrapper extends Object implements Externalizable
This class is a wrapper around a PropagationContext object allowing it to be serialized.- Version:
- $Id: PropagationContextWrapper.java,v 1.5 2004/10/04 09:48:19 nmcl Exp $
- Author:
- Richard A. Begg (richard.begg@arjuna.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropagationContextWrapper()Default constructor required for serializationPropagationContextWrapper(org.omg.CosTransactions.PropagationContext tpc)Create a wrapper around a propagation context class
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static booleangetPropagateFullContext()org.omg.CosTransactions.PropagationContextgetPropagationContext()inthashCode()voidreadExternal(ObjectInput in)static voidsetPropagateFullContext(boolean propagateFullContext)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
PropagationContextWrapper
public PropagationContextWrapper()
Default constructor required for serialization
-
PropagationContextWrapper
public PropagationContextWrapper(org.omg.CosTransactions.PropagationContext tpc)
Create a wrapper around a propagation context class- Parameters:
tpc-
-
-
Method Detail
-
setPropagateFullContext
public static void setPropagateFullContext(boolean propagateFullContext)
-
getPropagateFullContext
public static boolean getPropagateFullContext()
-
getPropagationContext
public org.omg.CosTransactions.PropagationContext getPropagationContext()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-