Package org.hibernate.testing.orm.junit
Class DomainModelExtension.DomainModelScopeImpl
- java.lang.Object
-
- org.hibernate.testing.orm.junit.DomainModelExtension.DomainModelScopeImpl
-
- All Implemented Interfaces:
DomainModelScope
,org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
- Enclosing class:
- DomainModelExtension
public static class DomainModelExtension.DomainModelScopeImpl extends Object implements DomainModelScope, org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
-
-
Constructor Summary
Constructors Constructor Description DomainModelScopeImpl(ServiceRegistryScope serviceRegistryScope, DomainModelProducer producer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
MetadataImplementor
getDomainModel()
void
releaseModel()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.testing.orm.junit.DomainModelScope
getEntityBinding, visitHierarchies, withHierarchy, withHierarchy
-
-
-
-
Constructor Detail
-
DomainModelScopeImpl
public DomainModelScopeImpl(ServiceRegistryScope serviceRegistryScope, DomainModelProducer producer)
-
-
Method Detail
-
getDomainModel
public MetadataImplementor getDomainModel()
- Specified by:
getDomainModel
in interfaceDomainModelScope
-
close
public void close()
- Specified by:
close
in interfaceorg.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
-
releaseModel
public void releaseModel()
-
-