Class RedisRepositoryBean<T>
java.lang.Object
org.springframework.data.repository.cdi.CdiRepositoryBean<T>
org.springframework.data.redis.repository.cdi.RedisRepositoryBean<T>
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>
,jakarta.enterprise.inject.spi.Bean<T>
,jakarta.enterprise.inject.spi.BeanAttributes<T>
,jakarta.enterprise.inject.spi.PassivationCapable
public class RedisRepositoryBean<T>
extends org.springframework.data.repository.cdi.CdiRepositoryBean<T>
CdiRepositoryBean
to create Redis repository instances.- Author:
- Mark Paluch, Christoph Strobl
-
Constructor Summary
ConstructorDescriptionRedisRepositoryBean
(jakarta.enterprise.inject.spi.Bean<org.springframework.data.keyvalue.core.KeyValueOperations> keyValueTemplate, Set<Annotation> qualifiers, Class<T> repositoryType, jakarta.enterprise.inject.spi.BeanManager beanManager, org.springframework.data.repository.config.CustomRepositoryImplementationDetector detector) Creates a newCdiRepositoryBean
. -
Method Summary
Methods inherited from class org.springframework.data.repository.cdi.CdiRepositoryBean
applyConfiguration, applyConfiguration, create, create, create, destroy, getBeanClass, getDependencyInstance, getDependencyInstance, getId, getInjectionPoints, getName, getQualifiers, getRepositoryFragments, getScope, getStereotypes, getTypes, initialize, isAlternative, isNullable, lookupConfiguration, toString
-
Constructor Details
-
RedisRepositoryBean
public RedisRepositoryBean(jakarta.enterprise.inject.spi.Bean<org.springframework.data.keyvalue.core.KeyValueOperations> keyValueTemplate, Set<Annotation> qualifiers, Class<T> repositoryType, jakarta.enterprise.inject.spi.BeanManager beanManager, @Nullable org.springframework.data.repository.config.CustomRepositoryImplementationDetector detector) Creates a newCdiRepositoryBean
.- Parameters:
keyValueTemplate
- must not be null.qualifiers
- must not be null.repositoryType
- must not be null.beanManager
- must not be null.detector
- detector for the customRepository
implementationsCustomRepositoryImplementationDetector
, can be null.
-
-
Method Details