Class PreconfiguredServiceRegistryBuilder
- java.lang.Object
-
- io.quarkus.hibernate.orm.runtime.boot.registry.PreconfiguredServiceRegistryBuilder
-
public class PreconfiguredServiceRegistryBuilder extends Object
Helps to instantiate a ServiceRegistryBuilder from a previous state. This will perform only minimal configuration validation and will never modify the given configuration properties.Meant to be used only to rebuild a previously created ServiceRegistry, which has been created via the traditional methods, so this builder expects much more explicit input.
-
-
Constructor Summary
Constructors Constructor Description PreconfiguredServiceRegistryBuilder(String puName, RecordedState rs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreconfiguredServiceRegistryBuilder
addInitiator(org.hibernate.boot.registry.StandardServiceInitiator<?> initiator)
PreconfiguredServiceRegistryBuilder
addIntegrator(org.hibernate.integrator.spi.Integrator integrator)
PreconfiguredServiceRegistryBuilder
addService(org.hibernate.service.internal.ProvidedService<?> providedService)
PreconfiguredServiceRegistryBuilder
applySetting(String settingName, Object value)
org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
buildNewServiceRegistry()
-
-
-
Constructor Detail
-
PreconfiguredServiceRegistryBuilder
public PreconfiguredServiceRegistryBuilder(String puName, RecordedState rs)
-
-
Method Detail
-
applySetting
public PreconfiguredServiceRegistryBuilder applySetting(String settingName, Object value)
-
addInitiator
public PreconfiguredServiceRegistryBuilder addInitiator(org.hibernate.boot.registry.StandardServiceInitiator<?> initiator)
-
addIntegrator
public PreconfiguredServiceRegistryBuilder addIntegrator(org.hibernate.integrator.spi.Integrator integrator)
-
addService
public PreconfiguredServiceRegistryBuilder addService(org.hibernate.service.internal.ProvidedService<?> providedService)
-
buildNewServiceRegistry
public org.hibernate.boot.registry.internal.StandardServiceRegistryImpl buildNewServiceRegistry()
-
-