Class PreconfiguredServiceRegistryBuilder
java.lang.Object
io.quarkus.hibernate.orm.runtime.boot.registry.PreconfiguredServiceRegistryBuilder
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
-
Method Summary
Modifier and TypeMethodDescriptionaddInitiator
(org.hibernate.boot.registry.StandardServiceInitiator<?> initiator) addIntegrator
(org.hibernate.integrator.spi.Integrator integrator) addService
(org.hibernate.service.internal.ProvidedService<?> providedService) applySetting
(String settingName, Object value) org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
-
Constructor Details
-
PreconfiguredServiceRegistryBuilder
-
-
Method Details
-
applySetting
-
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()
-