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
Modifier and TypeMethodDescriptionObtain theEntityManagerFactoryProducer
.void
Callback to inject the EntityManagerFactoryScope into the container.
-
Method Details
-
injectEntityManagerFactoryScope
Callback to inject the EntityManagerFactoryScope into the container. -
getEntityManagerFactoryProducer
EntityManagerFactoryProducer getEntityManagerFactoryProducer()Obtain theEntityManagerFactoryProducer
. Quite often this is also implemented by the container itself.
-