|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgenDevs.devsBridge.ServerSetup
public class ServerSetup
Adaptation of Test and models to local Corba Server Setup. The hard coded values are default values. Adjust setup by editing ServerSetup.xml in the execution directory.
Field Summary | |
---|---|
(package private) static java.lang.String |
AdevsFactoryCmd
Command with full path to start the ADevs Factory Server. |
(package private) static java.lang.String |
ADevsFactoryName
The namingId by which the ADevsFactory can be found within the naming service. |
protected static ServerSetup |
instance
implemented as singleton |
(package private) static java.lang.String |
NamingHostPort
Host and port, where the Corba Naming service can be found. |
protected java.util.Properties |
prop
properties loaded from serverSetup.xml |
(package private) static java.lang.String |
SimpArcFactoryName
The namingId by which the SimpArcFactory can be found within the naming service. |
Constructor Summary | |
---|---|
protected |
ServerSetup()
implemented as singleton, use ServerSetup.getInstance() |
Method Summary | |
---|---|
static java.lang.String |
getAdevsFactoryCmd()
|
static java.lang.String |
getADevsFactoryName()
|
static ServerSetup |
getInstance()
implemented as singleton, use ServerSetup.getInstance() |
static java.lang.String |
getNamingHostPort()
|
static java.lang.String |
getSimpArcFactoryName()
|
protected void |
loadProperties(java.lang.String fileName)
reloads the properties from given FileName |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Properties prop
static java.lang.String NamingHostPort
static final java.lang.String AdevsFactoryCmd
static final java.lang.String ADevsFactoryName
static final java.lang.String SimpArcFactoryName
protected static ServerSetup instance
Constructor Detail |
---|
protected ServerSetup()
Method Detail |
---|
protected void loadProperties(java.lang.String fileName) throws java.util.InvalidPropertiesFormatException, java.io.FileNotFoundException, java.io.IOException
java.util.InvalidPropertiesFormatException
java.io.FileNotFoundException
java.io.IOException
public static ServerSetup getInstance()
public static java.lang.String getAdevsFactoryCmd()
public static java.lang.String getNamingHostPort()
public static java.lang.String getADevsFactoryName()
public static java.lang.String getSimpArcFactoryName()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |