Package org.hibernate.testing.orm.junit
Interface EntityManagerFactoryScopeContainer
-
public interface EntityManagerFactoryScopeContainerThe 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 EntityManagerFactoryProducergetEntityManagerFactoryProducer()Obtain theEntityManagerFactoryProducer.voidinjectEntityManagerFactoryScope(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.
-
-