Interface SessionFactoryLocator<F>
- Type Parameters:
F
- the target system file type.
- All Known Implementing Classes:
DefaultSessionFactoryLocator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SessionFactoryLocator<F>
A factory returning a
SessionFactory
based on some key.- Since:
- 4.2
-
Method Summary
Modifier and Type Method Description SessionFactory<F>
getSessionFactory(java.lang.Object key)
Return aSessionFactory
for the key.
-
Method Details
-
getSessionFactory
Return aSessionFactory
for the key.- Parameters:
key
- the key.- Returns:
- the session factory.
-