|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.impl.UrdEnvironment
This class is an eagerly instantiated singleton implementing the
Environment interface for the Urd framework.
Environment variables should be set in the system properties if needed before startup of the main servers. The properties looked for by this class are (with their default values in parenthis):
net.larsan.norna.base.Environment.rootAddress (localhost) net.larsan.norna.base.Environment.rootPort (8666)
| Method Summary | |
static Environment |
getInstance()
Get the environment instance. |
java.lang.String |
getNamespace()
Get namespace |
java.lang.String |
getRootAddress()
Get the Norna root address. |
int |
getRootPort()
Get the root port number |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Environment getInstance()
public java.lang.String getRootAddress()
getRootAddress in interface Environmentpublic java.lang.String getNamespace()
getNamespace in interface Environmentpublic int getRootPort()
getRootPort in interface Environment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||