FileDocCategorySizeDatePackage
RequestProcessing.javaAPI DocGlassfish v2 API8425Tue Feb 21 12:28:22 GMT 2006com.sun.enterprise.config.serverbeans

RequestProcessing

public class RequestProcessing extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class RequestProcessing matches the DTD element request-processing

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
Constructors Summary
public RequestProcessing()



	  
		this(Common.USE_DEFAULT_VALUES);
	
public RequestProcessing(int options)

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(0);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("RequestProcessing\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public static java.lang.StringgetDefaultAttributeValue(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.StringgetDefaultHeaderBufferLengthInBytes()
Get the default value of HeaderBufferLengthInBytes from dtd

		return "4096".trim();
	
public static java.lang.StringgetDefaultInitialThreadCount()
Get the default value of InitialThreadCount from dtd

		return "48".trim();
	
public static java.lang.StringgetDefaultRequestTimeoutInSeconds()
Get the default value of RequestTimeoutInSeconds from dtd

		return "30".trim();
	
public static java.lang.StringgetDefaultThreadCount()
Get the default value of ThreadCount from dtd

		return "128".trim();
	
public static java.lang.StringgetDefaultThreadIncrement()
Get the default value of ThreadIncrement from dtd

		return "10".trim();
	
public java.lang.StringgetHeaderBufferLengthInBytes()
Getter for HeaderBufferLengthInBytes of the Element request-processing

return
the HeaderBufferLengthInBytes of the Element request-processing

		return getAttributeValue(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES);
	
public java.lang.StringgetInitialThreadCount()
Getter for InitialThreadCount of the Element request-processing

return
the InitialThreadCount of the Element request-processing

		return getAttributeValue(ServerTags.INITIAL_THREAD_COUNT);
	
protected java.lang.StringgetRelativeXPath()
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.StringgetRequestTimeoutInSeconds()
Getter for RequestTimeoutInSeconds of the Element request-processing

return
the RequestTimeoutInSeconds of the Element request-processing

		return getAttributeValue(ServerTags.REQUEST_TIMEOUT_IN_SECONDS);
	
public java.lang.StringgetThreadCount()
Getter for ThreadCount of the Element request-processing

return
the ThreadCount of the Element request-processing

		return getAttributeValue(ServerTags.THREAD_COUNT);
	
public java.lang.StringgetThreadIncrement()
Getter for ThreadIncrement of the Element request-processing

return
the ThreadIncrement of the Element request-processing

		return getAttributeValue(ServerTags.THREAD_INCREMENT);
	
voidinitialize(int options)


	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetHeaderBufferLengthInBytes(java.lang.String v, boolean overwrite)
Modify the HeaderBufferLengthInBytes of the Element request-processing

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES, v, overwrite);
	
public voidsetHeaderBufferLengthInBytes(java.lang.String v)
Modify the HeaderBufferLengthInBytes of the Element request-processing

param
v the new value

		setAttributeValue(ServerTags.HEADER_BUFFER_LENGTH_IN_BYTES, v);
	
public voidsetInitialThreadCount(java.lang.String v)
Modify the InitialThreadCount of the Element request-processing

param
v the new value

		setAttributeValue(ServerTags.INITIAL_THREAD_COUNT, v);
	
public voidsetInitialThreadCount(java.lang.String v, boolean overwrite)
Modify the InitialThreadCount of the Element request-processing

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.INITIAL_THREAD_COUNT, v, overwrite);
	
public voidsetRequestTimeoutInSeconds(java.lang.String v, boolean overwrite)
Modify the RequestTimeoutInSeconds of the Element request-processing

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.REQUEST_TIMEOUT_IN_SECONDS, v, overwrite);
	
public voidsetRequestTimeoutInSeconds(java.lang.String v)
Modify the RequestTimeoutInSeconds of the Element request-processing

param
v the new value

		setAttributeValue(ServerTags.REQUEST_TIMEOUT_IN_SECONDS, v);
	
public voidsetThreadCount(java.lang.String v, boolean overwrite)
Modify the ThreadCount of the Element request-processing

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.THREAD_COUNT, v, overwrite);
	
public voidsetThreadCount(java.lang.String v)
Modify the ThreadCount of the Element request-processing

param
v the new value

		setAttributeValue(ServerTags.THREAD_COUNT, v);
	
public voidsetThreadIncrement(java.lang.String v, boolean overwrite)
Modify the ThreadIncrement of the Element request-processing

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.THREAD_INCREMENT, v, overwrite);
	
public voidsetThreadIncrement(java.lang.String v)
Modify the ThreadIncrement of the Element request-processing

param
v the new value

		setAttributeValue(ServerTags.THREAD_INCREMENT, v);
	
public voidvalidate()