Class MongoOperationsSessionRepository
java.lang.Object
org.springframework.session.data.mongo.MongoIndexedSessionRepository
org.springframework.session.data.mongo.MongoOperationsSessionRepository
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationEventPublisherAware,FindByIndexNameSessionRepository<MongoSession>,SessionRepository<MongoSession>
Deprecated.
This
FindByIndexNameSessionRepository
implementation is kept to support backwards compatibility.- Since:
- 1.2
-
Field Summary
Fields inherited from class org.springframework.session.data.mongo.MongoIndexedSessionRepository
DEFAULT_COLLECTION_NAME, DEFAULT_INACTIVE_INTERVALFields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME -
Constructor Summary
ConstructorsConstructorDescriptionMongoOperationsSessionRepository(org.springframework.data.mongodb.core.MongoOperations mongoOperations) Deprecated. -
Method Summary
Methods inherited from class org.springframework.session.data.mongo.MongoIndexedSessionRepository
afterPropertiesSet, createSession, deleteById, findById, findByIndexNameAndIndexValue, save, setApplicationEventPublisher, setCollectionName, setMaxInactiveIntervalInSeconds, setMongoSessionConverterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.session.FindByIndexNameSessionRepository
findByPrincipalName
-
Constructor Details
-
MongoOperationsSessionRepository
public MongoOperationsSessionRepository(org.springframework.data.mongodb.core.MongoOperations mongoOperations) Deprecated.
-
MongoIndexedSessionRepository.