|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vrspace.server.Configuration
| Nested Class Summary | |
class |
Configuration.Server
|
| Field Summary | |
protected org.w3c.dom.Document |
config
|
java.lang.String |
filename
|
protected int |
maxPort
|
Configuration.Server[] |
servers
|
| Constructor Summary | |
Configuration()
|
|
| Method Summary | |
Configuration.Server |
addServer(java.lang.String name,
int port)
|
protected static java.lang.String |
getConfigFile(org.w3c.dom.Node server)
|
protected static int |
getPort(org.w3c.dom.Node server)
|
Configuration.Server[] |
getServers()
|
static void |
importAndAppendNodes(org.w3c.dom.Document document,
org.w3c.dom.NodeList nodeList)
|
void |
load()
|
protected void |
loadServers()
|
static org.w3c.dom.Document |
parse(java.lang.Object xmlSource)
|
void |
removeServer(int port)
|
protected static java.lang.String |
resolvePath(java.lang.String pathA,
java.lang.String pathB)
|
void |
save()
|
protected java.lang.String |
serverXML(java.lang.String configFile,
int port)
|
protected void |
updateMaxPort(int port)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Document config
public java.lang.String filename
public Configuration.Server[] servers
protected int maxPort
| Constructor Detail |
public Configuration()
| Method Detail |
public Configuration.Server[] getServers()
public void load()
public static org.w3c.dom.Document parse(java.lang.Object xmlSource)
protected void loadServers()
public Configuration.Server addServer(java.lang.String name,
int port)
protected java.lang.String serverXML(java.lang.String configFile,
int port)
protected void updateMaxPort(int port)
public static void importAndAppendNodes(org.w3c.dom.Document document,
org.w3c.dom.NodeList nodeList)
public void removeServer(int port)
protected static java.lang.String getConfigFile(org.w3c.dom.Node server)
protected static int getPort(org.w3c.dom.Node server)
public void save()
protected static java.lang.String resolvePath(java.lang.String pathA,
java.lang.String pathB)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||