Package org.redisson.liveobject.resolver
Interface Resolver<T,A extends Annotation,V>
-
- Type Parameters:
T
- Field instance typeA
- Annotation to resolveV
- Value type
- All Known Subinterfaces:
RIdResolver<A,V>
- All Known Implementing Classes:
LongGenerator
,RequiredIdResolver
,UUIDGenerator
public interface Resolver<T,A extends Annotation,V>
A resolver is used to provide value based on contextual parameters- Author:
- Rui Gu (https://github.com/jackygurui)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
resolve(T value, A annotation, String idFieldName, RedissonClient redisson)
Used to provide a value instance based on contextual parameters.
-
-
-
Method Detail
-
resolve
V resolve(T value, A annotation, String idFieldName, RedissonClient redisson)
Used to provide a value instance based on contextual parameters. Actual behavior may vary depending on implementation- Parameters:
value
- objectannotation
- objectidFieldName
- name of fieldredisson
- instance- Returns:
- resolved value
-
-