|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A factory for creating a compatible proxy and invocation dispatcher for
a remote object being exported. An InvocationLayerFactory
is used in conjunction with the BasicJeriExporter class to
customize remote invocation and dispatch behavior for remote objects.
| Nested Class Summary | |
static class |
InvocationLayerFactory.Instances
A container for the proxy and invocation dispatcher instances returned by InvocationLayerFactory.createInstances. |
| Method Summary | |
InvocationLayerFactory.Instances |
createInstances(Remote impl,
ObjectEndpoint oe,
ServerCapabilities caps)
Returns a compatible proxy and invocation dispatcher for a remote object being exported. |
| Method Detail |
public InvocationLayerFactory.Instances createInstances(Remote impl,
ObjectEndpoint oe,
ServerCapabilities caps)
throws ExportException
InvocationLayerFactory.Instances container object. The proxy sends
calls to the remote object using the supplied
ObjectEndpoint.
The returned proxy implements an implementation-specific set of
remote interfaces of impl and may implement additional
implementation-specific interfaces.
A given Exporter implementation should only call this
method once per export. An invocation dispatcher constructed for a
previous export should not be reused.
impl - the remote object that the proxy is being
created foroe - the object endpoint used to communicate with
the remote objectcaps - the transport capabilities of the server
Instances object
ExportException - if there is a problem creating the proxy or
dispatcher
NullPointerException - if any argument is null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||