|
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.JCasServerTag
Configuration object for the system parameters.
Field Summary | |
protected Map |
admins
The admin definitions |
protected List |
allowFrom
The allowFrom definitions |
protected JCasBindTag |
bind
The bind definition |
static int |
DEFAULT_REQUEST_TIMEOUT
default request timeout value |
static long |
DEFAULT_THREAD_REQUEST_MAX
default thread request value |
static int |
DEFAULT_THREAD_SPARE_MAX
default thread spare max value |
static int |
DEFAULT_THREAD_SPARE_MIN
default thread spare min value |
static int |
DEFAULT_THREAD_START
default thread start value |
protected String |
logfile
The logfile |
protected File |
logFile
The log file |
protected static String |
NAME
The tag name |
protected static String[] |
parents
The parents |
protected int |
requestTimeout
request timeout definition |
protected String |
sslCertificateFile
The SSL certificate file |
protected String |
sslKeyFile
The SSL key file |
protected String |
sslKeyPassword
The password for SSL key |
protected long |
threadRequestMax
thread request definition |
protected int |
threadSpareMax
thread spare max definition |
protected int |
threadSpareMin
thread spare min definition |
protected int |
threadStart
thread start definition |
Constructor Summary | |
JCasServerTag()
Creates a new instance of JCasServerTag |
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. |
File |
getLogfile()
Returns the logfile. |
String[] |
getParentTagNames()
Returns the tag names of all possible parents. |
protected String |
getPassword()
Retrieves the password as intended. |
int |
getRequestTimeout()
Returns the request timeout. |
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. |
protected String[] |
getSubTagNames()
Returns the tag names that can appear within this handler but actually do not contain other tags. |
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, 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 |
public static final int DEFAULT_THREAD_START
public static final int DEFAULT_THREAD_SPARE_MIN
public static final int DEFAULT_THREAD_SPARE_MAX
public static final long DEFAULT_THREAD_REQUEST_MAX
public static final int DEFAULT_REQUEST_TIMEOUT
protected static String NAME
protected static String[] parents
protected JCasBindTag bind
protected Map admins
protected List allowFrom
protected int threadStart
protected int threadSpareMin
protected int threadSpareMax
protected long threadRequestMax
protected int requestTimeout
protected String logfile
protected File logFile
protected String sslKeyFile
protected String sslKeyPassword
protected String sslCertificateFile
Constructor Detail |
public JCasServerTag()
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
protected String[] getSubTagNames()
AbstractCasSaxTagHandler
getSubTagNames
in class AbstractCasSaxTagHandler
public String getTagName()
CasSaxTagHandler
public void tagCompleted() throws SAXException
AbstractCasSaxTagHandler
tagCompleted
in interface CasSaxTagHandler
tagCompleted
in class AbstractCasSaxTagHandler
SAXException
public File getLogfile()
public int getThreadStart()
public int getThreadSpareMin()
public int getThreadSpareMax()
public long getThreadRequestMax()
public int getRequestTimeout()
public String getBindAdress()
public int getBindPort()
public List getAllowFrom()
public boolean getSSL()
public char[] getSSLKeyPassword()
public String getSSLKeyFile()
public String getSSLCertificateFile()
protected String getPassword()
|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |