Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
|
public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("RequestProcessing\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
if(attr.equals(ServerTags.THREAD_COUNT)) return "128".trim();
if(attr.equals(ServerTags.INITIAL_THREAD_COUNT)) return "48".trim();
if(attr.equals(ServerTags.THREAD_INCREMENT)) return "10".trim();
if(attr.equals(ServerTags.REQUEST_TIMEOUT_IN_SECONDS)) return "30".trim();
if(attr.equals(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES)) return "4096".trim();
return null;
|
public static java.lang.String | getDefaultHeaderBufferLengthInBytes()Get the default value of HeaderBufferLengthInBytes from dtd
return "4096".trim();
|
public static java.lang.String | getDefaultInitialThreadCount()Get the default value of InitialThreadCount from dtd
return "48".trim();
|
public static java.lang.String | getDefaultRequestTimeoutInSeconds()Get the default value of RequestTimeoutInSeconds from dtd
return "30".trim();
|
public static java.lang.String | getDefaultThreadCount()Get the default value of ThreadCount from dtd
return "128".trim();
|
public static java.lang.String | getDefaultThreadIncrement()Get the default value of ThreadIncrement from dtd
return "10".trim();
|
public java.lang.String | getHeaderBufferLengthInBytes()Getter for HeaderBufferLengthInBytes of the Element request-processing
return getAttributeValue(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES);
|
public java.lang.String | getInitialThreadCount()Getter for InitialThreadCount of the Element request-processing
return getAttributeValue(ServerTags.INITIAL_THREAD_COUNT);
|
protected java.lang.String | getRelativeXPath()get the xpath representation for this element
returns something like abc[@name='value'] or abc
depending on the type of the bean
String ret = null;
ret = "request-processing";
return (null != ret ? ret.trim() : null);
|
public java.lang.String | getRequestTimeoutInSeconds()Getter for RequestTimeoutInSeconds of the Element request-processing
return getAttributeValue(ServerTags.REQUEST_TIMEOUT_IN_SECONDS);
|
public java.lang.String | getThreadCount()Getter for ThreadCount of the Element request-processing
return getAttributeValue(ServerTags.THREAD_COUNT);
|
public java.lang.String | getThreadIncrement()Getter for ThreadIncrement of the Element request-processing
return getAttributeValue(ServerTags.THREAD_INCREMENT);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setHeaderBufferLengthInBytes(java.lang.String v, boolean overwrite)Modify the HeaderBufferLengthInBytes of the Element request-processing
setAttributeValue(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES, v, overwrite);
|
public void | setHeaderBufferLengthInBytes(java.lang.String v)Modify the HeaderBufferLengthInBytes of the Element request-processing
setAttributeValue(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES, v);
|
public void | setInitialThreadCount(java.lang.String v)Modify the InitialThreadCount of the Element request-processing
setAttributeValue(ServerTags.INITIAL_THREAD_COUNT, v);
|
public void | setInitialThreadCount(java.lang.String v, boolean overwrite)Modify the InitialThreadCount of the Element request-processing
setAttributeValue(ServerTags.INITIAL_THREAD_COUNT, v, overwrite);
|
public void | setRequestTimeoutInSeconds(java.lang.String v, boolean overwrite)Modify the RequestTimeoutInSeconds of the Element request-processing
setAttributeValue(ServerTags.REQUEST_TIMEOUT_IN_SECONDS, v, overwrite);
|
public void | setRequestTimeoutInSeconds(java.lang.String v)Modify the RequestTimeoutInSeconds of the Element request-processing
setAttributeValue(ServerTags.REQUEST_TIMEOUT_IN_SECONDS, v);
|
public void | setThreadCount(java.lang.String v, boolean overwrite)Modify the ThreadCount of the Element request-processing
setAttributeValue(ServerTags.THREAD_COUNT, v, overwrite);
|
public void | setThreadCount(java.lang.String v)Modify the ThreadCount of the Element request-processing
setAttributeValue(ServerTags.THREAD_COUNT, v);
|
public void | setThreadIncrement(java.lang.String v, boolean overwrite)Modify the ThreadIncrement of the Element request-processing
setAttributeValue(ServerTags.THREAD_INCREMENT, v, overwrite);
|
public void | setThreadIncrement(java.lang.String v)Modify the ThreadIncrement of the Element request-processing
setAttributeValue(ServerTags.THREAD_INCREMENT, v);
|
public void | validate()
|