|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.jeri.internal.runtime.BasicExportTable
public final class BasicExportTable
An ObjectTable front end for exporting remote objects with a ServerEndpoint as the producer of InboundRequests. A BasicExportTable manages a pool of ServerEndpoint.ListenEndpoints being listened on.
Nested Class Summary | |
---|---|
static class |
BasicExportTable.Entry
Represents a remote object exported to this BasicExportTable. |
private class |
BasicExportTable.LC
Collects the ListenEndpoints associated with a ServerEndpoint and gets the corresponding bindings using the listen pool. |
Field Summary | |
---|---|
private java.util.concurrent.ConcurrentMap<SameClassKey,Binding> |
listenPool
pool of endpoints that we're listening on: maps SameClassKey(ServerEndpoint.ListenEndpoint) to Binding. |
private ObjectTable |
objectTable
underlying object table |
Constructor Summary | |
---|---|
BasicExportTable()
Creates a new instance. |
Method Summary | |
---|---|
BasicExportTable.Entry |
export(Remote impl,
ServerEndpoint serverEndpoint,
boolean allowDGC,
boolean keepAlive,
Uuid id)
Exports a remote object to this BasicExportTable. |
private Binding |
getBinding(ServerEndpoint.ListenEndpoint listenEndpoint)
Returns the binding for the specified ListenEndpoint, by returning the one already in the listen pool, if any, or else by creating a new one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final ObjectTable objectTable
private final java.util.concurrent.ConcurrentMap<SameClassKey,Binding> listenPool
Constructor Detail |
---|
public BasicExportTable()
Method Detail |
---|
public BasicExportTable.Entry export(Remote impl, ServerEndpoint serverEndpoint, boolean allowDGC, boolean keepAlive, Uuid id) throws ExportException
ExportException
private Binding getBinding(ServerEndpoint.ListenEndpoint listenEndpoint) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |