Class ReactiveServiceRegistryBuilder


  • public final class ReactiveServiceRegistryBuilder
    extends org.hibernate.boot.registry.StandardServiceRegistryBuilder
    Adaptation of StandardServiceRegistryBuilder; the main difference is the use of a different initial set of services and the fact this will not attempt to load service contributors and other Integrators.
    See Also:
    ReactiveServiceInitiators
    • Field Summary

      • Fields inherited from class org.hibernate.boot.registry.StandardServiceRegistryBuilder

        DEFAULT_CFG_RESOURCE_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      ReactiveServiceRegistryBuilder()
      Create a default builder.
      ReactiveServiceRegistryBuilder​(org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry)
      Create a builder with the specified bootstrap services.
      ReactiveServiceRegistryBuilder​(org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry, org.hibernate.boot.cfgxml.spi.LoadedConfig loadedConfigBaseline)
      Create a builder with the specified bootstrap services.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void destroy​(org.hibernate.service.ServiceRegistry serviceRegistry)
      Destroy a service registry.
      static org.hibernate.boot.registry.StandardServiceRegistryBuilder forJpa​(org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry)  
      • Methods inherited from class org.hibernate.boot.registry.StandardServiceRegistryBuilder

        addInitiator, addService, applySetting, applySettings, applySettings, build, clearSettings, configure, configure, configure, configure, configure, disableAutoClose, enableAutoClose, getAggregatedCfgXml, getBootstrapServiceRegistry, getConfigLoader, getSettings, loadProperties, loadProperties
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReactiveServiceRegistryBuilder

        public ReactiveServiceRegistryBuilder()
        Create a default builder.
      • ReactiveServiceRegistryBuilder

        public ReactiveServiceRegistryBuilder​(org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry)
        Create a builder with the specified bootstrap services.
        Parameters:
        bootstrapServiceRegistry - Provided bootstrap registry to use.
      • ReactiveServiceRegistryBuilder

        public ReactiveServiceRegistryBuilder​(org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry,
                                              org.hibernate.boot.cfgxml.spi.LoadedConfig loadedConfigBaseline)
        Create a builder with the specified bootstrap services.
        Parameters:
        bootstrapServiceRegistry - Provided bootstrap registry to use.
    • Method Detail

      • forJpa

        public static org.hibernate.boot.registry.StandardServiceRegistryBuilder forJpa​(org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry)
      • destroy

        public static void destroy​(org.hibernate.service.ServiceRegistry serviceRegistry)
        Destroy a service registry. Applications should only destroy registries they have explicitly created.
        Parameters:
        serviceRegistry - The registry to be closed.