public interface InvocationLayerFactory
InvocationLayerFactory
is used in conjunction with the BasicJeriExporter
class to
customize remote invocation and dispatch behavior for remote objects.Modifier and Type | Interface and Description |
---|---|
static class |
InvocationLayerFactory.Instances
A container for the proxy and invocation dispatcher instances
returned by
InvocationLayerFactory.createInstances . |
Modifier and Type | Method and Description |
---|---|
InvocationLayerFactory.Instances |
createInstances(Remote impl,
ObjectEndpoint oe,
ServerCapabilities caps)
Returns a compatible proxy and invocation dispatcher for a remote
object being exported.
|
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 serverInstances
objectExportException
- if there is a problem creating the proxy or
dispatcherNullPointerException
- if any argument is null
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.