public class RIProcessor extends Object
Constructor and Description |
---|
RIProcessor() |
Modifier and Type | Method and Description |
---|---|
static long |
appendInvocationHeaders(long iid,
String invocationName,
Map<String,Object> mimeHeaders,
Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders) |
static ServiceLoader |
createServiceLoader() |
static void |
finish() |
static void |
finish(MimeHeaders resMimeHeaders,
Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> resRpcHeaders) |
static void |
fork(RIProcessorContext orgContext) |
static RIProcessorContext |
getCurrentProcessorContext() |
static ServiceContext |
getCurrentServiceContext() |
static void |
initEndpointRewriters(EndpointRewriter[] rewriters) |
static RIProcessorContext |
join() |
static void |
mergeContext(RIProcessorContext context) |
static long |
newInvocationId()
allocate the new invocation id.
|
static void |
processInvocationResponseHeaders(long invocationId,
String invocationName,
long deltaTime,
MimeHeaders mimeHeaders,
Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders,
jp.go.nict.langrid.commons.rpc.RpcFault rpcFault) |
static Endpoint |
rewriteEndpoint(long iid,
String invocationName,
EndpointRewriter[] rewriters) |
static Endpoint |
rewriteEndpoint(long iid,
String invocationName,
EndpointRewriter[] rewriters,
Endpoint original) |
static RIProcessorContext |
start(ServiceContext context) |
static RIProcessorContext |
start(ServiceContext context,
SoapHeaderElementFactory soapHeaderElementFactory) |
public static ServiceContext getCurrentServiceContext()
public static RIProcessorContext getCurrentProcessorContext()
public static ServiceLoader createServiceLoader()
public static RIProcessorContext start(ServiceContext context)
public static RIProcessorContext start(ServiceContext context, SoapHeaderElementFactory soapHeaderElementFactory)
public static void finish()
public static void finish(MimeHeaders resMimeHeaders, Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> resRpcHeaders)
public static void fork(RIProcessorContext orgContext)
public static RIProcessorContext join()
public static void mergeContext(RIProcessorContext context)
public static long newInvocationId()
public static void initEndpointRewriters(EndpointRewriter[] rewriters)
public static Endpoint rewriteEndpoint(long iid, String invocationName, EndpointRewriter[] rewriters)
public static Endpoint rewriteEndpoint(long iid, String invocationName, EndpointRewriter[] rewriters, Endpoint original)
public static long appendInvocationHeaders(long iid, String invocationName, Map<String,Object> mimeHeaders, Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders)
public static void processInvocationResponseHeaders(long invocationId, String invocationName, long deltaTime, MimeHeaders mimeHeaders, Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders, jp.go.nict.langrid.commons.rpc.RpcFault rpcFault)