public final class DistributedEquiv
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CL_PREFIX
Distributed Equivalent System
|
| Constructor and Description |
|---|
DistributedEquiv() |
| Modifier and Type | Method and Description |
|---|---|
static java.rmi.Remote |
getExportedStubList(java.rmi.Remote obj) |
static java.lang.ClassLoader |
getLocalCLByKey(java.io.Serializable key)
Get the local class loader associated with the key - is only set
if the remote object was bound locally
|
static ObjectIdFactory |
getOidFactory() |
static void |
putLocalCLByKey(java.io.Serializable key,
java.lang.ClassLoader cl)
Put the local class loader associated with the key in the classloader cache
|
static void |
removeLocalCLByKey(java.io.Serializable key)
Remove the entry associated with the key in the local class loader cache
|
static DistributedEquiv |
start()
The first one which calls this method starts the DistributedEquiv system.
|
void |
stop()
Terminate the Distributed Equivalent System
|
public static final java.lang.String CL_PREFIX
public static DistributedEquiv start() throws ServerConfigException
ServerConfigException - if exception is encounteredpublic void stop()
throws ServerConfigException
ServerConfigException - if error during stoppingpublic static java.rmi.Remote getExportedStubList(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
obj - Remote objectjava.rmi.NoSuchObjectException - if the object is not currently exportedpublic static java.lang.ClassLoader getLocalCLByKey(java.io.Serializable key)
throws ServerConfigException
key - keynull if not found.ServerConfigException - if des is nullpublic static void putLocalCLByKey(java.io.Serializable key,
java.lang.ClassLoader cl)
throws ServerConfigException
key - keycl - ClassLoaderServerConfigException - if des is nullpublic static void removeLocalCLByKey(java.io.Serializable key)
throws ServerConfigException
key - keyServerConfigException - if des is nullpublic static ObjectIdFactory getOidFactory() throws ServerConfigException
ServerConfigException