- All Known Implementing Classes:
- SessionFactoryBasedFunctionalTest
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:
SessionFactoryScopeExtension,
SessionFactoryScope,
SessionFactoryScopeContainer