Package org.springframework.data.cassandra.core.cql.session.lookup
@NonNullApi
package org.springframework.data.cassandra.core.cql.session.lookup
Provides a strategy for looking up
SessionFactory
.-
ClassDescriptionAbstract
SessionFactory
implementation that routesAbstractRoutingSessionFactory.getSession()
calls to one of various targetfactories
based on a lookup key.SessionFactoryLookup
implementation based on a SpringBeanFactory
.SimpleSessionFactoryLookup
implementation that relies on a map for doing lookups.Strategy interface for looking upSessionFactory
by name.Exception to be thrown by aSessionFactoryLookup
implementation, indicating that the specifiedSessionFactory
could not be obtained.An implementation ofSessionFactoryLookup
that simply wraps a single givenSessionFactory
, returned for any session factory name.