Package com.attivio.service
Class RefetchOnExceptionServiceProxy
- java.lang.Object
-
- com.attivio.service.RefetchOnExceptionServiceProxy
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class RefetchOnExceptionServiceProxy extends java.lang.Object implements java.lang.reflect.InvocationHandler
A proxy for services that refetches the service whenever select exceptions occur. Upon registration, the service indicates the exceptions that will trigger a refetch. Used for clients which have theStickyClient
annotation.
-
-
Constructor Summary
Constructors Constructor Description RefetchOnExceptionServiceProxy(java.lang.Class<?> clazz, org.apache.curator.x.discovery.ServiceInstance<AieServiceInfo> instance, java.lang.Object target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
java.lang.Object
target()
-
-
-
Constructor Detail
-
RefetchOnExceptionServiceProxy
public RefetchOnExceptionServiceProxy(java.lang.Class<?> clazz, org.apache.curator.x.discovery.ServiceInstance<AieServiceInfo> instance, java.lang.Object target)
-
-