Skip to content

Commit

Permalink
HHH-18964 remove JOTMJtaPlatform
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Jan 10, 2025
1 parent e210dfa commit b2f27b1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.hibernate.engine.transaction.jta.platform.internal.AtomikosJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JBossAppServerJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JBossStandAloneJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JOTMJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JOnASJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JRun4JtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.OC4JJtaPlatform;
Expand Down Expand Up @@ -44,7 +43,6 @@ private static Class<? extends JtaPlatform> caseJ(final String name) {
case "JBossAS" -> JBossAppServerJtaPlatform.class;
case "JBossTS" -> JBossStandAloneJtaPlatform.class;
case "JOnAS" -> JOnASJtaPlatform.class;
case "JOTM" -> JOTMJtaPlatform.class;
case "JRun4" -> JRun4JtaPlatform.class;
case null, default -> null;
};
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ public JtaPlatform resolveJtaPlatform(Map configurationValues, ServiceRegistryIm
catch (ClassLoadingException ignore) {
}

// JOTM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
try {
classLoaderService.classForName( JOTMJtaPlatform.TM_CLASS_NAME );
return new JOTMJtaPlatform();
}
catch (ClassLoadingException ignore) {
}

// WebSphere Liberty ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
try {
classLoaderService.classForName(WebSphereLibertyJtaPlatform.TMF_CLASS_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.hibernate.engine.transaction.jta.platform.internal.AtomikosJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JBossAppServerJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JBossStandAloneJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JOTMJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JOnASJtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.JRun4JtaPlatform;
import org.hibernate.engine.transaction.jta.platform.internal.OC4JJtaPlatform;
Expand Down Expand Up @@ -65,13 +64,6 @@ public void verifyAllJtaPlatformResolve() {
"org.hibernate.service.jta.platform.internal.JOnASJtaPlatform"
);

testJtaPlatformResolves(
strategySelector,
JOTMJtaPlatform.class,
"JOTM",
"org.hibernate.service.jta.platform.internal.JOTMJtaPlatform"
);

testJtaPlatformResolves(
strategySelector,
JRun4JtaPlatform.class,
Expand Down

0 comments on commit b2f27b1

Please sign in to comment.