|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.deployment.util.RunAutoconfiguredEnvironment
public class RunAutoconfiguredEnvironment
Launches repository and dock registry and global connector manager without the need of too many things specified by the user.
Nested Class Summary | |
---|---|
static class |
RunAutoconfiguredEnvironment.NodeThread
The thread in which everything concerning the node runs. |
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 | |
---|---|
RunAutoconfiguredEnvironment()
|
Method Summary | |
---|---|
static void |
firstStart()
Must be used instead of the startNode() function when starting the node for the first time because of the GlobalConnectionManager, which is started only once and cannot be stopped (yet) when the node stops. |
static void |
initNode()
Initializes all ports and starts the zeroconfiguration server. |
static void |
main(java.lang.String[] args)
|
static boolean |
runDockRegistry(java.lang.String rmiPort)
Launches the dock registry. |
static boolean |
runGCM(int port)
Launches the global connector manager. |
static boolean |
runRepository(java.lang.String repositoryPort)
Launches the repository. |
static void |
startNode()
Starts the node. |
static void |
stopNode()
Stops the node (can be run again). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REPOSITORY_PATH_PROPERTY
public static final java.lang.String REPOSITORY_PORT
public static final java.lang.String REPOSITORY_WEBAPP_PATH
public static final java.lang.String DOCK_REGISTRY_PORT
Constructor Detail |
---|
public RunAutoconfiguredEnvironment()
Method Detail |
---|
public static void firstStart()
public static void main(java.lang.String[] args)
public static void initNode()
public static void startNode()
public static void stopNode()
public static boolean runRepository(java.lang.String repositoryPort)
true
if the repository has been successfully launchedpublic static boolean runGCM(int port)
true
if the manager has been successfully launchedpublic static boolean runDockRegistry(java.lang.String rmiPort)
true
if the registry has been successfully launched
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |