Package org.hibernate.testing.orm.junit
Interface SessionFactoryProducer
-
- All Known Implementing Classes:
BaseSessionFactoryFunctionalTest
public interface SessionFactoryProducer
Contract for something that can build a SessionFactory. Used by SessionFactoryScopeExtension to create the SessionFactoryScope. Generally speaking, a test class would implement SessionFactoryScopeContainer and return the SessionFactoryProducer to be used for those tests. The SessionFactoryProducer is then used to build the SessionFactoryScope which is injected back into the SessionFactoryScopeContainer- See Also:
SessionFactoryExtension
,SessionFactoryScope
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionFactoryImplementor
produceSessionFactory(MetadataImplementor model)
-
-
-
Method Detail
-
produceSessionFactory
SessionFactoryImplementor produceSessionFactory(MetadataImplementor model)
-
-