|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectRegistryX
public class RegistryX
RMI boot-registry utilities and definitions.
Note that Sun's implementation of the registry is supposed to restrict binding/rebinding to local (same host) callers. Although other hosts cannot bind, they can do lookups.
| Field Summary | |
|---|---|
static int |
STANDARD_REGISTRY_PORT
Default port for the RMI boot-registry. |
| Method Summary | |
|---|---|
static Registry |
ensureRegistry()
Ensures a boot-registry exists on the local host at the standard port, and returns a reference to it. |
static Registry |
getRegistryOrNull()
Returns a remote reference to the boot-registry on the local host at the standard port, but only if one exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STANDARD_REGISTRY_PORT
| Method Detail |
|---|
public static Registry ensureRegistry()
throws RemoteException
RemoteException
public static Registry getRegistryOrNull()
throws RemoteException
RemoteException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||