|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.remote.RemoteUtils
public class RemoteUtils
This class provides some basic utilities for doing things such as starting the registry properly.
| Method Summary | |
|---|---|
static int |
createRegistry(int port)
Creates and exports a registry on the specified port of the local host. |
static java.util.Properties |
loadProps(java.lang.String propFile)
Loads properties for the named props file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int createRegistry(int port)
throws java.rmi.RemoteException
port -
java.rmi.RemoteException
public static java.util.Properties loadProps(java.lang.String propFile)
throws java.io.IOException
propFile -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||