Class TransactionServlet

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

@WebServlet("/TransactionServlet") public class TransactionServlet extends TestServlet
See Also:
  • Constructor Details

    • TransactionServlet

      public TransactionServlet()
  • Method Details

    • before

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

      public String testTransactionOfExecuteThreadAndCommit() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
    • testTransactionOfExecuteThreadAndRollback

      public String testTransactionOfExecuteThreadAndRollback() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
    • testSuspendAndCommit

      public String testSuspendAndCommit() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
    • testSuspendAndRollback

      public String testSuspendAndRollback() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
    • testDefaultAndCommit

      public String testDefaultAndCommit() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException