public class AjaxSwingRegistryManager
extends java.lang.Object
Constructor and Description |
---|
AjaxSwingRegistryManager() |
Modifier and Type | Method and Description |
---|---|
static void |
execProcess(java.lang.String procName,
java.lang.String param)
Executes the script with the given name from the bin directory.
|
static int |
getActivePort() |
static java.rmi.registry.Registry |
getRegistry(int port,
int portRange)
Locates the registry on the given port.
|
static void |
shutdownRegistry()
Shuts down the registry, if it was created in this process
|
public static java.rmi.registry.Registry getRegistry(int port, int portRange) throws java.lang.Exception
port
- initial registry portattemptRunningExternal
- if true, an attempt will be made to run registry externallyjava.lang.Exception
public static void execProcess(java.lang.String procName, java.lang.String param) throws java.lang.Exception
procName
- script name, such as "runRegistry"param
- command line parameters to the scriptjava.lang.Exception
public static void shutdownRegistry()
public static int getActivePort()
Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.