|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cas.xml.AbstractCasSaxTagHandler cas.config.JCasConfiguration
Main configuration object of a server.
Field Summary | |
protected CookieManager |
cookieManager
The cookie manager |
protected JCasCookiesTag |
cookiesTag
The cookies definition found |
protected Map |
instances
The instances definition |
protected static String |
NAME
The tag name |
protected Map |
schemes
The schemes |
protected JCasServerTag |
serverTag
The server definition |
Constructor Summary | |
JCasConfiguration()
Creates a new instance of JCasConfiguration |
Method Summary | |
protected AbstractCasSaxTagHandler |
createHandler(String tagName,
Attributes attributes)
Returns a new instance of the handler for the specified sub tag. |
List |
getAllowFrom()
Returns the global allow from configs. |
String |
getBindAdress()
Returns the bind adress. |
int |
getBindPort()
Returns the bind port. |
CookieManager |
getCookieManager()
Returns the cookie manager. |
JCasCookiesTag |
getCookies()
Returns the cookies. |
JCasInstanceTag |
getInstance(JCasSchemeTag scheme)
Returns an instance definition. |
JCasInstanceTag |
getInstance(String name)
Returns an instance definition. |
String[] |
getParentTagNames()
Returns the tag names of all possible parents. |
int |
getRequestTimeout()
Returns the request timeout. |
JCasSchemeTag |
getScheme(String name)
Returns a scheme definition. |
File |
getServerLogFile()
Returns the server log file. |
File |
getServerLogFile(String scheme)
Returns the server log file. |
boolean |
getSSL()
Returns true if configuration wishes SSL protocol. |
String |
getSSLCertificateFile()
Returns the path to server certificate. |
String |
getSSLKeyFile()
Returns the path to private SSL key. |
char[] |
getSSLKeyPassword()
Returns the password for private SSL key. |
String |
getTagName()
Returns the tag name this handler will take care of. |
long |
getThreadRequestMax()
Returns the thread request max value. |
int |
getThreadSpareMax()
Returns the thread spare max value. |
int |
getThreadSpareMin()
Returns the thread spare min value. |
int |
getThreadStart()
Returns the thread start value. |
void |
tagCompleted()
Validates the configuration. |
Methods inherited from class cas.xml.AbstractCasSaxTagHandler |
characters, clear, endElement, getHandler, getSubHandler, getSubHandlerCount, getSubHandlers, getSubTag, getSubTag, getSubTagCount, getSubTagNames, getSubTags, ignoresUnknownTags, setAttributes, setIgnoreUnknownTags, startElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static String NAME
protected JCasCookiesTag cookiesTag
protected JCasServerTag serverTag
protected Map instances
protected Map schemes
protected CookieManager cookieManager
Constructor Detail |
public JCasConfiguration()
Method Detail |
protected AbstractCasSaxTagHandler createHandler(String tagName, Attributes attributes)
AbstractCasSaxTagHandler
createHandler
in class AbstractCasSaxTagHandler
tagName
- - name of the sub tag
public String[] getParentTagNames()
AbstractCasSaxTagHandler
getParentTagNames
in class AbstractCasSaxTagHandler
public String getTagName()
CasSaxTagHandler
public void tagCompleted() throws SAXException
AbstractCasSaxTagHandler
tagCompleted
in interface CasSaxTagHandler
tagCompleted
in class AbstractCasSaxTagHandler
SAXException
public JCasInstanceTag getInstance(String name)
public JCasInstanceTag getInstance(JCasSchemeTag scheme)
public JCasSchemeTag getScheme(String name)
public File getServerLogFile()
public File getServerLogFile(String scheme)
public String getBindAdress()
public int getBindPort()
public int getThreadStart()
public int getThreadSpareMin()
public int getThreadSpareMax()
public long getThreadRequestMax()
public int getRequestTimeout()
public List getAllowFrom()
public CookieManager getCookieManager()
public JCasCookiesTag getCookies()
public boolean getSSL()
public char[] getSSLKeyPassword()
public String getSSLKeyFile()
public String getSSLCertificateFile()
|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |