Class PropagationContextWrapper
java.lang.Object
com.arjuna.ats.internal.jbossatx.jts.PropagationContextWrapper
- All Implemented Interfaces:
Externalizable,Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required for serializationPropagationContextWrapper(org.omg.CosTransactions.PropagationContext tpc) Create a wrapper around a propagation context class -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic booleanorg.omg.CosTransactions.PropagationContextinthashCode()voidstatic voidsetPropagateFullContext(boolean propagateFullContext) void
-
Constructor Details
-
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 Details
-
setPropagateFullContext
public static void setPropagateFullContext(boolean propagateFullContext) -
getPropagateFullContext
public static boolean getPropagateFullContext() -
hashCode
public int hashCode() -
equals
-
getPropagationContext
public org.omg.CosTransactions.PropagationContext getPropagationContext() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-