org.hibernate.service.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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.service;
import org.hibernate.service.spi.SessionFactoryServiceRegistry;
import java.io.Serializable;
/**
* Marker interface for services. Services usually belong to a {@link ServiceRegistry}.
*
* - Services may be contributed to a {@link SessionFactoryServiceRegistry} using an
* {@link org.hibernate.integrator.spi.Integrator}, which is automatically discoved
* via the Java {@link java.util.ServiceLoader} facility.
*
- Alternatively, a service may be directly contributed to a
* {@link org.hibernate.service.spi.SessionFactoryServiceRegistryBuilder} either
* by registering an actual instance of the {@code Service}, or by registering a
* {@link org.hibernate.service.spi.ServiceInitiator}.
*
- Other ways to contribute service implementations include
* {@link org.hibernate.boot.registry.BootstrapServiceRegistryBuilder} and
* {@link org.hibernate.boot.registry.StandardServiceRegistryBuilder}.
*
*
* All services must be {@link Serializable}!
*
* @author Steve Ebersole
*/
public interface Service extends Serializable {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy