Package org.hibernate.context.spi
SPI-level contracts around "current session" and "current tenant" support.
Interface Summary Interface Description CurrentSessionContext Defines the contract for objects which are able to manage the lifecycle of aSessionassociated with a well-defined "context" or "scope", providing the concrete implementation behind the notion of thecurrent session.CurrentTenantIdentifierResolver<T> A callback registered with theSessionFactorythat is responsible for resolving the current tenant identifier.Class Summary Class Description AbstractCurrentSessionContext Base support forCurrentSessionContextimplementors.