|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationDispatcher
An abstraction used to handle incoming call requests for a remote
object. When exporting a remote object using a BasicJeriExporter
, an invocation dispatcher (and proxy) is created via
the InvocationLayerFactory
in 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.
BasicJeriExporter
Method Summary | |
---|---|
void |
dispatch(Remote impl,
InboundRequest request,
Collection context)
Dispatches the invocation represented by an InboundRequest
to the specified remote object. |
Method Detail |
---|
void dispatch(Remote impl, InboundRequest request, Collection context)
InboundRequest
to 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 objectrequest
- inbound request object for reading arguments and
writing the resultcontext
- a modifiable server context collection
NullPointerException
- if any argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |