Normally this class is instantiated by the {@linkplain
- * java.util.ServiceLoader Java service provider infrastructure}.
+ * Normally this class is instantiated by the {@linkplain java.util.ServiceLoader Java service provider
+ * infrastructure}.
*
* @see JtaPlatform
*
* @see CDISEJtaPlatform
*/
public final class CDISEJtaPlatformProvider implements JtaPlatformProvider {
- /**
- * Creates a new {@link CDISEJtaPlatformProvider}.
- */
- public CDISEJtaPlatformProvider() {
- super();
- }
-
- /**
- * Returns a non-{@code null} {@link JtaPlatform}.
- *
- * @return a non-{@code null} {@link JtaPlatform}
- */
- @Override
- public JtaPlatform getProvidedJtaPlatform() {
- return CDI.current().select(JtaPlatform.class).get();
- }
+
+
+ /*
+ * Static fields.
+ */
+
+
+ /**
+ * A {@link Logger} for instances of this class.
+ */
+ private static final Logger LOGGER = System.getLogger(CDISEJtaPlatformProvider.class.getName());
+
+
+ /*
+ * Constructors.
+ */
+
+
+ /**
+ * Creates a new {@link CDISEJtaPlatformProvider}.
+ *
+ * @deprecated For Hibernate use only.
+ */
+ @Deprecated
+ public CDISEJtaPlatformProvider() {
+ super();
+ }
+
+
+ /*
+ * Instance methods.
+ */
+
+
+ /**
+ * Returns a {@link JtaPlatform}.
+ *
+ *