All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.service.Service Maven / Gradle / Ivy

There is a newer version: 6.6.2.Final
Show newest version
/*
 * 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