Class UnknownWorkContext
java.lang.Object
jakarta.resource.spi.work.ExecutionContext
com.sun.ts.tests.common.connector.whitebox.mdcomplete.UnknownWorkContext
- All Implemented Interfaces:
jakarta.resource.spi.work.WorkContext
,Serializable
public class UnknownWorkContext
extends jakarta.resource.spi.work.ExecutionContext
implements jakarta.resource.spi.work.WorkContext
This class is to be used to test assertion Connector:SPEC:214. The server should not have knowledge of this work
context class and so attempts to submit this context class to the appserver via a WorkInst should cause the server to
throw a proper error code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.resource.spi.work.ExecutionContext
getTransactionTimeout, getXid, setTransactionTimeout, setXid
-
Constructor Details
-
UnknownWorkContext
public UnknownWorkContext()
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfacejakarta.resource.spi.work.WorkContext
-
getName
- Specified by:
getName
in interfacejakarta.resource.spi.work.WorkContext
-