Class RedisDocumentRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID>
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactoryBean<T,S,ID>
com.redis.om.spring.repository.support.RedisDocumentRepositoryFactoryBean<T,S,ID>
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.FactoryBean<T>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationEventPublisherAware,org.springframework.data.repository.core.support.RepositoryFactoryInformation<S,ID>
public class RedisDocumentRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID>
extends org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactoryBean<T,S,ID>
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionRedisDocumentRepositoryFactoryBean(Class<? extends T> repositoryInterface) Creates a newRedisDocumentRepositoryFactoryBeanfor the given repository interface. -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected final RedisDocumentRepositoryFactorycreateRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations operations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?, ?>> queryCreator, Class<? extends org.springframework.data.repository.query.RepositoryQuery> repositoryQueryType) Methods inherited from class org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactoryBean
createRepositoryFactory, setKeyValueOperations, setMappingContext, setQueryCreator, setQueryTypeMethods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments
-
Constructor Details
-
RedisDocumentRepositoryFactoryBean
Creates a newRedisDocumentRepositoryFactoryBeanfor the given repository interface.- Parameters:
repositoryInterface- must not be null.
-
-
Method Details
-
createRepositoryFactory
protected final RedisDocumentRepositoryFactory createRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations operations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?, ?>> queryCreator, Class<? extends org.springframework.data.repository.query.RepositoryQuery> repositoryQueryType) -
afterPropertiesSet
public void afterPropertiesSet()
-