Package org.redisson.liveobject.core
Class AccessorInterceptor
java.lang.Object
org.redisson.liveobject.core.AccessorInterceptor
This class is going to be instantiated and becomes a static field of
the proxied target class. That is one instance of this class per proxied
class.
- Author:
- Rui Gu (https://github.com/jackygurui), Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionAccessorInterceptor(Class<?> entityClass, CommandAsyncExecutor commandExecutor, MapResolver mapResolver) -
Method Summary
Modifier and TypeMethodDescriptionintercept(Method method, Callable<?> superMethod, Object[] args, Object me, LiveObjectInterceptor.Setter mapSetter, LiveObjectInterceptor.Getter mapGetter)
-
Constructor Details
-
AccessorInterceptor
public AccessorInterceptor(Class<?> entityClass, CommandAsyncExecutor commandExecutor, MapResolver mapResolver)
-
-
Method Details
-
intercept
@RuntimeType public Object intercept(@Origin Method method, @SuperCall Callable<?> superMethod, @AllArguments Object[] args, @This Object me, @FieldProxy("liveObjectLiveMap") LiveObjectInterceptor.Setter mapSetter, @FieldProxy("liveObjectLiveMap") LiveObjectInterceptor.Getter mapGetter) throws Exception - Throws:
Exception
-