| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Remote | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | SingleEntryRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, String name, Remote object)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(String name, Remote obj)
Overrides sun. Implements java. Binds the name to the specified remote object. |
| public String[] | list()
Overrides sun. Implements java. Returns an enumeration of the names in the registry. |
| public Remote | lookup(String name)
Overrides sun. Implements java. Returns the remote object for specified name in the registry. |
| public void | rebind(String name, Remote obj)
Overrides sun. Implements java. Rebind the name to a new object, replaces any existing binding. |
| private static ObjectInputFilter. | Returns: Status.REJECTED if parameters are out of rangea reference to the serialization filter information infoObjectInputFilter to check parameters to SingleEntryRegistry. |
| public void | unbind(String name)
Overrides sun. Implements java. Unbind the name. |
| name | back to summary |
|---|---|
| private final String name | |
| object | back to summary |
|---|---|
private final Remote object
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SingleEntryRegistry | back to summary |
|---|---|
| pack-priv SingleEntryRegistry(int port, String name, Remote object) throws RemoteException | |
| SingleEntryRegistry | back to summary |
|---|---|
| pack-priv SingleEntryRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, String name, Remote object) throws RemoteException | |
| bind | back to summary |
|---|---|
| public void bind(String name, Remote obj) throws AccessException Overrides sun. Implements java. Doc from sun. Binds the name to the specified remote object.
| |
| list | back to summary |
|---|---|
| public String[] list() Overrides sun. Implements java. Doc from sun. Returns an enumeration of the names in the registry. | |
| lookup | back to summary |
|---|---|
| public Remote lookup(String name) throws NotBoundException Overrides sun. Implements java. Doc from sun. Returns the remote object for specified name in the registry.
| |
| rebind | back to summary |
|---|---|
| public void rebind(String name, Remote obj) throws AccessException Overrides sun. Implements java. Doc from sun. Rebind the name to a new object, replaces any existing binding.
| |
| singleRegistryFilter | back to summary |
|---|---|
| private static ObjectInputFilter. ObjectInputFilter to check parameters to SingleEntryRegistry. Since it is a read-only Registry, no classes are accepted. String arguments are accepted without passing them to the serialFilter.
| |
| unbind | back to summary |
|---|---|
| public void unbind(String name) throws AccessException Overrides sun. Implements java. Doc from sun. Unbind the name.
| |