Package org.hibernate.testing.orm.junit
Interface EntityManagerFactoryScopeContainer
-
- All Known Implementing Classes:
EntityManagerFactoryBasedFunctionalTest
public interface EntityManagerFactoryScopeContainer
The keystone in EntityManagerFactoryScopeExtension support. This is how the extensions know how to build an EntityManagerFactory (scope) and how to inject that EntityManagerFactory (scope) back into the test.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityManagerFactoryProducer
getEntityManagerFactoryProducer()
Obtain theEntityManagerFactoryProducer
.void
injectEntityManagerFactoryScope(EntityManagerFactoryScope scope)
Callback to inject the EntityManagerFactoryScope into the container.
-
-
-
Method Detail
-
injectEntityManagerFactoryScope
void injectEntityManagerFactoryScope(EntityManagerFactoryScope scope)
Callback to inject the EntityManagerFactoryScope into the container.
-
getEntityManagerFactoryProducer
EntityManagerFactoryProducer getEntityManagerFactoryProducer()
Obtain theEntityManagerFactoryProducer
. Quite often this is also implemented by the container itself.
-
-