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 Details

    • UnknownWorkContext

      public UnknownWorkContext()
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface jakarta.resource.spi.work.WorkContext
    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.resource.spi.work.WorkContext