Interface SessionFactoryLookup

All Known Implementing Classes:
BeanFactorySessionFactoryLookup, MapSessionFactoryLookup, SingleSessionFactoryLookup
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 SessionFactoryLookup
Strategy interface for looking up SessionFactory by name.

Implementing classes resolve session factories keyed by String from an underlying source such as a Map or the BeanFactory.

Since:
2.0
Author:
Mark Paluch
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    getSessionFactory(String sessionFactoryName)
    Implementations must implement this method to retrieve the SessionFactory identified by the given name from their backing store.