public class CachingDynamicJsonServiceExecutor extends AbstractJsonRpcServiceExecutor implements InvocationHandler
Constructor and Description |
---|
CachingDynamicJsonServiceExecutor(String invocationName) |
CachingDynamicJsonServiceExecutor(String invocationName,
long invocationId,
Endpoint endpoint,
com.opensymphony.oscache.base.Cache cache,
int cacheTtlSec) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
create(String invocationName,
long invocationId,
Endpoint endpoint,
Class<T> interfaceClass,
com.opensymphony.oscache.base.Cache cache,
int cacheTtlSec) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected jp.go.nict.langrid.commons.util.Pair<Endpoint,Long> |
preprocessJsonRpc(Map<String,Object> mimeHeaders,
Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders) |
postprocessJsonRpc
getInvocationName, postprocess, preprocess
public CachingDynamicJsonServiceExecutor(String invocationName)
public static <T> T create(String invocationName, long invocationId, Endpoint endpoint, Class<T> interfaceClass, com.opensymphony.oscache.base.Cache cache, int cacheTtlSec)
protected jp.go.nict.langrid.commons.util.Pair<Endpoint,Long> preprocessJsonRpc(Map<String,Object> mimeHeaders, Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders)
preprocessJsonRpc
in class AbstractJsonRpcServiceExecutor