| Modifier and Type | Field and Description |
|---|---|
static RequiredIdResolver |
INSTANCE |
| Constructor and Description |
|---|
RequiredIdResolver() |
| Modifier and Type | Method and Description |
|---|---|
Object |
resolve(Class cls,
RId annotation,
String idFieldName,
RedissonClient redisson)
RLiveObjectService instantiate the class and invokes this method to get
a value used as the value for the field with RId annotation.
|
public static final RequiredIdResolver INSTANCE
public Object resolve(Class cls, RId annotation, String idFieldName, RedissonClient redisson)
RIdResolverresolve in interface Resolver<Class<?>,RId,Object>resolve in interface RIdResolver<RId,Object>cls - the class of the LiveObject.annotation - the RId annotation used in the class.idFieldName - name of fieldredisson - instanceCopyright © 2014–2018 The Redisson Project. All rights reserved.