public interface InvocationDispatcher
BasicJeriExporter, an invocation dispatcher (and proxy) is created via the
InvocationLayerFactoryin the exporter.
An invocation dispatcher is generally responsible for reading a representation of the method to be invoked, unmarshalling the arguments for the invocation, invoking the method on the target remote object with those arguments, and marshalling the result of that invocation.
void dispatch(Remote impl, InboundRequest request, Collection context)
InboundRequestto the specified remote object.
Dispatching the invocation generally entails:
The result should generally be encoded in a manner that will indicate to the reader of the response whether the result is a return value or an exception.
impl- a remote object
request- inbound request object for reading arguments and writing the result
context- a modifiable server context collection
NullPointerException- if any argument is
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.