org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.engine.transaction.jta.platform.spi;
/**
* A {@link java.util.ServiceLoader}-style provider of {@link JtaPlatform} instances. Used when an
* explicit JtaPlatform is not provided.
*
* @author Steve Ebersole
*/
public interface JtaPlatformProvider {
/**
* Retrieve the JtaPlatform provided by this environment.
*
* @return The provided JtaPlatform
*/
public JtaPlatform getProvidedJtaPlatform();
}