|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rmi.utils.ParametricSingletonRmiRegistry
public final class ParametricSingletonRmiRegistry
DocJava, Inc. http://www.docjava.com Programmer: Francisco Castellanos & Douglas Lyon Date: March 14, 2006 net.rmi.utils.RmiRegistryUtils Is a Parametric singleton pattern that enables the creation of one and only one instance of the registry given a set of ports. Once the registry exists on a given port, it is not created again.
Method Summary | |
---|---|
static java.rmi.registry.Registry |
getRegistry()
Overloaded method for default port. |
static java.rmi.registry.Registry |
getRegistry(java.lang.Integer port)
Restart the registry, if needed. |
static void |
listNames(java.lang.Integer port)
|
static void |
listNamesForAllRegistries()
|
static void |
main(java.lang.String[] args)
|
static void |
print(java.lang.Object[] o)
|
static void |
restart()
Overloaded method for default port. |
static void |
restart(int port)
Checks whether a Registry has been started on this host in the specified port. |
static void |
restart(java.lang.Integer port)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void listNames(java.lang.Integer port)
public static void listNamesForAllRegistries()
public static void print(java.lang.Object[] o)
public static void restart(int port)
public static void restart(java.lang.Integer port)
public static void restart()
public static java.rmi.registry.Registry getRegistry(java.lang.Integer port)
public static java.rmi.registry.Registry getRegistry()
public static void main(java.lang.String[] args) throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |