diff --git a/narayana/ArjunaJTA/jta/pom.xml b/narayana/ArjunaJTA/jta/pom.xml index 34c286a1..2f461185 100644 --- a/narayana/ArjunaJTA/jta/pom.xml +++ b/narayana/ArjunaJTA/jta/pom.xml @@ -34,8 +34,7 @@ 1.0.0.Final - 3.1.5 - 1.1.1 + 4.0.0 1.0.1-1 1.6.4 1.7.5 @@ -247,11 +246,6 @@ geronimo-transaction ${version.org.apache.geronimo.components.geronimo-transaction} - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - ${version.org.apache.geronimo.specs.geronimo-jta_1.1_spec} - org.objectweb.howl howl diff --git a/narayana/ArjunaJTA/jta/tests/classes/io/narayana/perf/product/GeronimoComparison.java b/narayana/ArjunaJTA/jta/tests/classes/io/narayana/perf/product/GeronimoComparison.java index 874c2d27..def8dcb2 100644 --- a/narayana/ArjunaJTA/jta/tests/classes/io/narayana/perf/product/GeronimoComparison.java +++ b/narayana/ArjunaJTA/jta/tests/classes/io/narayana/perf/product/GeronimoComparison.java @@ -17,23 +17,23 @@ import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.CommandLineOptionException; -import javax.transaction.SystemException; -import javax.transaction.TransactionManager; -import javax.transaction.UserTransaction; +import jakarta.transaction.SystemException; +import jakarta.transaction.TransactionManager; +import jakarta.transaction.UserTransaction; import javax.transaction.xa.XAResource; import java.io.File; @State(Scope.Benchmark) -public class GeronimoComparison extends ProductComparison { +public class GeronimoComparison extends ProductComparisonJakarta { public static void main(String[] args) throws RunnerException, CommandLineOptionException, CoreEnvironmentBeanException { JMHConfigJTA.runJTABenchmark(GeronimoComparison.class.getSimpleName(), args); } - protected ProductInterface getProductInterface() { + protected ProductInterfaceJakarta getProductInterface() { return geronimo; } - private ProductInterface geronimo = new ProductInterface() { + private ProductInterfaceJakarta geronimo = new ProductInterfaceJakarta() { private final String LOG_FILE_NAME = "geronimo_howl_test_"; private HOWLLog howlLog; private UserTransaction ut; @@ -117,4 +117,4 @@ protected TransactionManagerImpl createTransactionManager() throws Exception { return new TransactionManagerImpl(TX_TIMEOUT, xidFactory, howlLog); } }; -} \ No newline at end of file +}