|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cluster5.shared.rmi.RMIUtils
public class RMIUtils
RMI-related stuff
Constructor Summary | |
---|---|
RMIUtils()
|
Method Summary | |
---|---|
java.rmi.Remote |
connectToRMIService(java.lang.String url,
int port,
java.lang.String name)
Returns instance of the remote object or null if connection failed. |
java.rmi.registry.Registry |
createRMIServer(java.lang.String url,
int port,
java.lang.String name,
java.rmi.Remote remoteObject)
Creates a RMI service by given parameters. |
void |
disposeRegistry(java.rmi.registry.Registry registry,
int port)
Shall stop a registry. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMIUtils()
Method Detail |
---|
public java.rmi.registry.Registry createRMIServer(java.lang.String url, int port, java.lang.String name, java.rmi.Remote remoteObject)
Registry
if succeeded, null if failed.public java.rmi.Remote connectToRMIService(java.lang.String url, int port, java.lang.String name)
public void disposeRegistry(java.rmi.registry.Registry registry, int port)
registry
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |