public class RemoteUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
configureGlobalCustomSocketFactory(int timeoutMillis)
Configure a custom socket factory to set the timeout value.
|
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.
|
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
public static void configureGlobalCustomSocketFactory(int timeoutMillis)
timeoutMillis
- Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.