public class AspectBase extends Object
Constructor and Description |
---|
AspectBase(EndpointRewriter[] rewriters) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendInvocationHeaders(long processId,
long invocationId,
String partnerLinkName,
Map<String,Object> mimeHeaders,
Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders) |
protected void |
appendResponseHeaders(long processId,
MimeHeaders mimeHeaders,
Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders) |
protected void |
beginProcess(ServiceContext serviceContext,
long processId) |
protected void |
endProcess(long processId) |
protected Map<String,Object> |
getProperties(long processId) |
protected void |
initEndpointRewriters(ServiceContext serviceContext,
long processId,
EndpointRewriter[] rewriters) |
protected void |
processInvocationResponseHeaders(long processId,
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) |
protected Endpoint |
rewriteEndpoint(long processId,
URI processUri,
long invocationId,
String partnerLinkName,
URI serviceNamespace,
Endpoint original) |
protected Endpoint |
rewriteEndpoint(long processId,
URI processUri,
long invocationId,
String partnerLinkName,
URI serviceNamespace,
Endpoint original,
EndpointRewriter[] rewriters) |
public AspectBase(EndpointRewriter[] rewriters)
protected void beginProcess(ServiceContext serviceContext, long processId)
protected void initEndpointRewriters(ServiceContext serviceContext, long processId, EndpointRewriter[] rewriters)
protected Endpoint rewriteEndpoint(long processId, URI processUri, long invocationId, String partnerLinkName, URI serviceNamespace, Endpoint original)
protected Endpoint rewriteEndpoint(long processId, URI processUri, long invocationId, String partnerLinkName, URI serviceNamespace, Endpoint original, EndpointRewriter[] rewriters)
protected void appendInvocationHeaders(long processId, long invocationId, String partnerLinkName, Map<String,Object> mimeHeaders, Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders)
protected void processInvocationResponseHeaders(long processId, 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)
protected void appendResponseHeaders(long processId, MimeHeaders mimeHeaders, Collection<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders)
protected void endProcess(long processId)