Class TransactionServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
ee.jakarta.tck.concurrent.framework.TestServlet
ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.tx.TransactionServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@WebServlet("/TransactionServlet") public class TransactionServlet extends TestServlet
See Also:
  • Field Summary

    Fields inherited from class ee.jakarta.tck.concurrent.framework.TestServlet

    FAILURE, nl, SUCCESS, TEST_METHOD

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Override to mimic JUnit's @BeforeClass annotation.
    void
     
    void
    transactionTest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
     

    Methods inherited from class ee.jakarta.tck.concurrent.framework.TestServlet

    after, before, doGet, doPost, getResponse, invokeTest, sendPostData

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPatch, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TransactionServlet

      public TransactionServlet()
  • Method Details

    • beforeClass

      protected void beforeClass() throws RemoteException
      Description copied from class: TestServlet
      Override to mimic JUnit's @BeforeClass annotation.
      Overrides:
      beforeClass in class TestServlet
      Throws:
      RemoteException
    • transactionTest

      public void transactionTest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception
      Throws:
      Exception
    • cancelTest

      public void cancelTest()