|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.node.StartNode
public class StartNode
This class is a utility class allowing to start a ProActive node with a JVM. It is very useful to start a node on a given host that will receive later active objects created by other distributed applications.
This class has a main method and can be used directly from the java command.
use
java org.objectweb.proactive.core.node.StartNode
to print the options from command line or see the java doc of the main method.
A node represents the minimum services ProActive needs to work with a remote JVM. Any JVM that is going to interact with active objects has at least one associated node. The node must have a remote implementation that allow an object to remotely invoke its methods.
Field Summary | |
---|---|
protected java.lang.String |
classpath
|
static int |
DEFAULT_CLASSFILE_SERVER_PORT
|
protected static int |
DEFAULT_PORT
|
protected static int |
MAX_RETRY
|
protected static java.lang.String |
MULTICAST_LOCATOR_NAME
|
protected boolean |
multicastLocator
|
protected static java.lang.String |
NO_CLASS_SERVER_OPTION_NAME
|
protected static java.lang.String |
NO_REBIND_OPTION_NAME
|
protected static java.lang.String |
NO_REGISTRY_OPTION_NAME
|
protected boolean |
noClassServer
|
protected java.lang.String |
nodeURL
|
protected boolean |
noRebind
|
protected boolean |
noRegistry
|
protected int |
registryPortNumber
|
Constructor Summary | |
---|---|
protected |
StartNode()
|
Method Summary | |
---|---|
protected void |
checkOption(java.lang.String option)
**For internal use only** Checks one given option from the arguments |
protected void |
checkOptions(java.lang.String[] args,
int start)
|
protected void |
createNode(java.lang.String nodeURL,
boolean noRebind)
|
static void |
main(java.lang.String[] args)
|
protected void |
readClassPath(java.lang.String[] args,
int start)
**For internal use only** Reads the classpath from the arguments |
protected void |
run()
**For internal use only** Run the complete creation of the node step by step by invoking the other helper methods |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_CLASSFILE_SERVER_PORT
protected static final int DEFAULT_PORT
protected static final int MAX_RETRY
protected static final java.lang.String NO_REBIND_OPTION_NAME
protected static final java.lang.String NO_CLASS_SERVER_OPTION_NAME
protected static final java.lang.String NO_REGISTRY_OPTION_NAME
protected static final java.lang.String MULTICAST_LOCATOR_NAME
protected boolean noClassServer
protected boolean noRebind
protected boolean noRegistry
protected boolean multicastLocator
protected int registryPortNumber
protected java.lang.String classpath
protected java.lang.String nodeURL
Constructor Detail |
---|
protected StartNode()
Method Detail |
---|
public static void main(java.lang.String[] args)
protected void checkOptions(java.lang.String[] args, int start)
protected void readClassPath(java.lang.String[] args, int start)
protected void createNode(java.lang.String nodeURL, boolean noRebind) throws NodeException, java.rmi.AlreadyBoundException
NodeException
java.rmi.AlreadyBoundException
protected void run() throws java.io.IOException, NodeException, java.rmi.AlreadyBoundException
java.io.IOException
NodeException
java.rmi.AlreadyBoundException
protected void checkOption(java.lang.String option)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |