Class RedisKeyValueAdapterBean
java.lang.Object
org.springframework.data.redis.repository.cdi.CdiBean<RedisKeyValueAdapter>
org.springframework.data.redis.repository.cdi.RedisKeyValueAdapterBean
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<RedisKeyValueAdapter>
,jakarta.enterprise.inject.spi.Bean<RedisKeyValueAdapter>
,jakarta.enterprise.inject.spi.BeanAttributes<RedisKeyValueAdapter>
,jakarta.enterprise.inject.spi.PassivationCapable
CdiBean
to create RedisKeyValueAdapter
instances.- Author:
- Mark Paluch, Christoph Strobl
-
Field Summary
Fields inherited from class org.springframework.data.redis.repository.cdi.CdiBean
beanManager
-
Constructor Summary
ConstructorDescriptionRedisKeyValueAdapterBean
(jakarta.enterprise.inject.spi.Bean<RedisOperations<?, ?>> redisOperations, Set<Annotation> qualifiers, jakarta.enterprise.inject.spi.BeanManager beanManager) Creates a newRedisKeyValueAdapterBean
. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(jakarta.enterprise.context.spi.CreationalContext<RedisKeyValueAdapter> creationalContext) void
destroy
(RedisKeyValueAdapter instance, jakarta.enterprise.context.spi.CreationalContext<RedisKeyValueAdapter> creationalContext) Methods inherited from class org.springframework.data.redis.repository.cdi.CdiBean
getBeanClass, getDependencyInstance, getId, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, initialize, isAlternative, isNullable, toString
-
Constructor Details
-
RedisKeyValueAdapterBean
public RedisKeyValueAdapterBean(jakarta.enterprise.inject.spi.Bean<RedisOperations<?, ?>> redisOperations, Set<Annotation> qualifiers, jakarta.enterprise.inject.spi.BeanManager beanManager) Creates a newRedisKeyValueAdapterBean
.- Parameters:
redisOperations
- must not be null.qualifiers
- must not be null.beanManager
- must not be null.
-
-
Method Details
-
create
public RedisKeyValueAdapter create(jakarta.enterprise.context.spi.CreationalContext<RedisKeyValueAdapter> creationalContext) -
destroy
public void destroy(RedisKeyValueAdapter instance, jakarta.enterprise.context.spi.CreationalContext<RedisKeyValueAdapter> creationalContext) - Specified by:
destroy
in interfacejakarta.enterprise.context.spi.Contextual<RedisKeyValueAdapter>
- Overrides:
destroy
in classCdiBean<RedisKeyValueAdapter>
-