Package org.hibernate.testing.boot
Class ServiceRegistryTestingImpl
java.lang.Object
org.hibernate.service.internal.AbstractServiceRegistryImpl
org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
org.hibernate.testing.boot.ServiceRegistryTestingImpl
- All Implemented Interfaces:
AutoCloseable,org.hibernate.boot.registry.StandardServiceRegistry,org.hibernate.service.ServiceRegistry,org.hibernate.service.spi.ServiceBinding.ServiceLifecycleOwner,org.hibernate.service.spi.ServiceRegistryImplementor
public class ServiceRegistryTestingImpl
extends org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
implements org.hibernate.service.spi.ServiceRegistryImplementor
ServiceRegistry useful in testing
-
Field Summary
Fields inherited from class org.hibernate.service.internal.AbstractServiceRegistryImpl
ALLOW_CRAWLING -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceRegistryTestingImplcreate(boolean autoCloseRegistry, org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry, List<org.hibernate.boot.registry.StandardServiceInitiator<?>> serviceInitiators, List<org.hibernate.service.internal.ProvidedService<?>> providedServices, Map<String, Object> configurationValues) static ServiceRegistryTestingImplstatic ServiceRegistryTestingImplforUnitTesting(Map<String, Object> settings) Methods inherited from class org.hibernate.boot.registry.internal.StandardServiceRegistryImpl
applyServiceRegistrations, configureService, create, destroy, initiateService, resetAndReactivateMethods inherited from class org.hibernate.service.internal.AbstractServiceRegistryImpl
createService, createServiceBinding, createServiceBinding, deRegisterChild, fromRegistryOrChildren, fromRegistryOrChildren, getParentServiceRegistry, getService, initialize, injectDependencies, isActive, locateServiceBinding, locateServiceBinding, reactivate, registerChild, registerService, resetParent, startService, stopService, visitServiceBindingsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.service.ServiceRegistry
getParentServiceRegistry, getService, requireServiceMethods inherited from interface org.hibernate.service.spi.ServiceRegistryImplementor
close, deRegisterChild, destroy, fromRegistryOrChildren, locateServiceBinding, registerChild
-
Method Details
-
forUnitTesting
-
forUnitTesting
-
create
public static ServiceRegistryTestingImpl create(boolean autoCloseRegistry, org.hibernate.boot.registry.BootstrapServiceRegistry bootstrapServiceRegistry, List<org.hibernate.boot.registry.StandardServiceInitiator<?>> serviceInitiators, List<org.hibernate.service.internal.ProvidedService<?>> providedServices, Map<String, Object> configurationValues)
-