Top Description Fields Constructors Methods
javax.resource.spi.work

public Class TransactionContext

extends ExecutionContext
implements WorkContext
Class Inheritance
All Implemented Interfaces
javax.resource.spi.work.WorkContext, java.io.Serializable

A standard WorkContext that allows a Work instance to propagate transaction related context information from an EIS to an application server.

This class extends ExecutionContext so that a resource adapter developer could migrate their existing code from ExecutionContext to TransactionContext easily.

Since
1.6
Version
Java EE Connector Architecture 1.6
See Also
javax.resource.spi.work.WorkContext, javax.resource.spi.work.ExecutionContext

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Determines if a deserialized instance of this class is compatible with this class.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getDescription()

Implements javax.resource.spi.work.WorkContext.getDescription.

Get the brief description of the role played by the WorkContext and any other related debugging information.
public String
getName()

Implements javax.resource.spi.work.WorkContext.getName.

Get the associated name of the WorkContext.
Inherited from javax.resource.spi.work.ExecutionContext:
getTransactionTimeoutgetXidsetTransactionTimeoutsetXid

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Determines if a deserialized instance of this class is compatible with this class.

Constructor Detail

TransactionContextback to summary
public TransactionContext()

Method Detail

getDescriptionback to summary
public String getDescription()

Implements javax.resource.spi.work.WorkContext.getDescription.

Doc from javax.resource.spi.work.WorkContext.getDescription.

Get the brief description of the role played by the WorkContext and any other related debugging information. This could be used by the WorkManager and the resource adapter for debugging purposes.

Returns:String

the associated description of the WorkContext

getNameback to summary
public String getName()

Implements javax.resource.spi.work.WorkContext.getName.

Doc from javax.resource.spi.work.WorkContext.getName.

Get the associated name of the WorkContext. This could be used by the WorkManager and the resource adapter for debugging purposes.

Returns:String

the associated name of the WorkContext