|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ro.raducora.utils.props.xml.ServerXMLProperties
Constructor Summary | |
ServerXMLProperties()
Default Constructor takes as default properties filename path ". |
|
ServerXMLProperties(java.lang.String filename)
|
Method Summary | |
boolean |
allowDirectConnection()
Returns true if direct connection to client through redirection is possible. |
int |
getMaxNumberOfAllowedClients()
Gets the max number of allowed clients |
void |
reload()
Reloads the properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerXMLProperties() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
"./conf/Server.xml"
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public ServerXMLProperties(java.lang.String filename) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
filename
- the properties filename
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
Method Detail |
public boolean allowDirectConnection()
allowDirectConnection
in interface ServerProps
public void reload() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
reload
in interface Props
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public int getMaxNumberOfAllowedClients()
getMaxNumberOfAllowedClients
in interface ServerProps
|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |