com.ontimize.gui
Class ServerLauncher
java.lang.Object
com.ontimize.gui.ServerLauncher
- public class ServerLauncher
- extends java.lang.Object
|
Constructor Summary |
ServerLauncher(java.lang.String pr)
Constructor that creates a server instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_CREATE_REMOTE_LOCATOR
protected static final java.lang.String ERROR_CREATE_REMOTE_LOCATOR
- See Also:
- Constant Field Values
REMOTE_LOCATOR_REGISTER
protected static final java.lang.String REMOTE_LOCATOR_REGISTER
- See Also:
- Constant Field Values
ERROR_EXPORT_REGISTER
protected static final java.lang.String ERROR_EXPORT_REGISTER
- See Also:
- Constant Field Values
EXIT_OTHER_REGISTER
protected static final java.lang.String EXIT_OTHER_REGISTER
- See Also:
- Constant Field Values
REGISTRY_CORRECTLY
protected static final java.lang.String REGISTRY_CORRECTLY
- See Also:
- Constant Field Values
JAVA_RMI_SERVER_HOSTNAME_PREVIOUS
protected static final java.lang.String JAVA_RMI_SERVER_HOSTNAME_PREVIOUS
- See Also:
- Constant Field Values
SET_JAVA_RMI_SERVER_HOSTNAME
protected static final java.lang.String SET_JAVA_RMI_SERVER_HOSTNAME
- See Also:
- Constant Field Values
STARTING_SERVER
protected static final java.lang.String STARTING_SERVER
- See Also:
- Constant Field Values
HOSTNAME
public static final java.lang.String HOSTNAME
- See Also:
- Constant Field Values
REMOTE_LOCATOR_REGISTRY_NAME
public static final java.lang.String REMOTE_LOCATOR_REGISTRY_NAME
- See Also:
- Constant Field Values
REGISTRY_PORT
public static final java.lang.String REGISTRY_PORT
- See Also:
- Constant Field Values
REMOTE_OBJECT_PORT
public static final java.lang.String REMOTE_OBJECT_PORT
- See Also:
- Constant Field Values
SERVER_MONITOR
public static final java.lang.String SERVER_MONITOR
- See Also:
- Constant Field Values
DESCRIPTION
public static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
LOCATOR_CLASSNAME
public static final java.lang.String LOCATOR_CLASSNAME
- See Also:
- Constant Field Values
LOCATOR_PROPERTIES
public static final java.lang.String LOCATOR_PROPERTIES
- See Also:
- Constant Field Values
SSL
public static final java.lang.String SSL
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
LPROPERTIESFILENAME
public static final java.lang.String LPROPERTIESFILENAME
- See Also:
- Constant Field Values
hostname
protected static java.lang.String hostname
remoteLocatorRegistryName
protected static java.lang.String remoteLocatorRegistryName
locatorProperties
protected static java.lang.String locatorProperties
locatorClassName
protected static java.lang.String locatorClassName
registryPort
protected static int registryPort
remoteObjectPort
protected static int remoteObjectPort
showMonitor
protected static boolean showMonitor
showNewMonitor
protected static boolean showNewMonitor
description
protected static java.lang.String description
licenseProperties
protected static java.lang.String licenseProperties
sm
protected static java.lang.Object sm
registry
protected java.rmi.registry.Registry registry
locator
protected EntityReferenceLocator locator
SERVER_MONITOR_PROPERTY
public static java.lang.String SERVER_MONITOR_PROPERTY
ServerLauncher
public ServerLauncher(java.lang.String pr)
throws java.lang.Exception
- Constructor that creates a server instance. It must be indicated the path to server properties file.
- Parameters:
pr - path to the server properties file.
- Hostname Hostname where server resides
- RemoteLocatorRegistryName Name of remote locator registry
- RegistryPort Registry port of application
- RemoteObjectPort Remote object port for remote server objects
- ServerMonitor GUI for server: 'no' when not needs a GUI of server and 'new' for a graphical interface.
- Description Description
- LocatorClassName Complete package path to the locator class
- LocatorProperties Path to locator properties file
- SSL Communication is over SSL: yes/no
- Name Name of server
- LicenseProperties Properties license file
- Throws:
java.lang.Exception - when an Exception occurs
getRemoteLocatorRegistryName
public static java.lang.String getRemoteLocatorRegistryName()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception