org.objectweb.dsrg.sofa.deployment.util
Class RunEnvironment

java.lang.Object
  extended by org.objectweb.dsrg.sofa.deployment.util.RunEnvironment

public class RunEnvironment
extends java.lang.Object

Launches repository and dock registry and global connector manager.


Field Summary
static java.lang.String DOCK_REGISTRY_PORT
          Dock registry port.
static java.lang.String REPOSITORY_PATH_PROPERTY
          System property name for setting repository directory root.
static java.lang.String REPOSITORY_PORT
          System property name for setting repository server listening port.
static java.lang.String REPOSITORY_WEBAPP_PATH
          System property name for setting repository web application war path
 
Constructor Summary
RunEnvironment()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main program.
static boolean runDockRegistry()
          Launches the dock registry.
static boolean runGCM(int port)
          Launches the global connector manager.
static boolean runRepository()
          Launches the repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_PATH_PROPERTY

public static final java.lang.String REPOSITORY_PATH_PROPERTY
System property name for setting repository directory root.

See Also:
Constant Field Values

REPOSITORY_PORT

public static final java.lang.String REPOSITORY_PORT
System property name for setting repository server listening port.

See Also:
Constant Field Values

REPOSITORY_WEBAPP_PATH

public static final java.lang.String REPOSITORY_WEBAPP_PATH
System property name for setting repository web application war path

See Also:
Constant Field Values

DOCK_REGISTRY_PORT

public static final java.lang.String DOCK_REGISTRY_PORT
Dock registry port.

See Also:
Constant Field Values
Constructor Detail

RunEnvironment

public RunEnvironment()
Method Detail

main

public static void main(java.lang.String[] args)
Main program.

Parameters:
args - no parameters used

runRepository

public static boolean runRepository()
Launches the repository.

Returns:
true if the repository has been successfully launched

runGCM

public static boolean runGCM(int port)
Launches the global connector manager.

Returns:
true if the manager has been successfully launched

runDockRegistry

public static boolean runDockRegistry()
Launches the dock registry.

Returns:
true if the registry has been successfully launched