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("ConnectionPool\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.QUEUE_SIZE_IN_BYTES)) return "4096".trim();
if(attr.equals(ServerTags.MAX_PENDING_COUNT)) return "4096".trim();
if(attr.equals(ServerTags.RECEIVE_BUFFER_SIZE_IN_BYTES)) return "4096".trim();
if(attr.equals(ServerTags.SEND_BUFFER_SIZE_IN_BYTES)) return "8192".trim();
return null;
|
public static java.lang.String | getDefaultMaxPendingCount()Get the default value of MaxPendingCount from dtd
return "4096".trim();
|
public static java.lang.String | getDefaultQueueSizeInBytes()Get the default value of QueueSizeInBytes from dtd
return "4096".trim();
|
public static java.lang.String | getDefaultReceiveBufferSizeInBytes()Get the default value of ReceiveBufferSizeInBytes from dtd
return "4096".trim();
|
public static java.lang.String | getDefaultSendBufferSizeInBytes()Get the default value of SendBufferSizeInBytes from dtd
return "8192".trim();
|
public java.lang.String | getMaxPendingCount()Getter for MaxPendingCount of the Element connection-pool
return getAttributeValue(ServerTags.MAX_PENDING_COUNT);
|
public java.lang.String | getQueueSizeInBytes()Getter for QueueSizeInBytes of the Element connection-pool
return getAttributeValue(ServerTags.QUEUE_SIZE_IN_BYTES);
|
public java.lang.String | getReceiveBufferSizeInBytes()Getter for ReceiveBufferSizeInBytes of the Element connection-pool
return getAttributeValue(ServerTags.RECEIVE_BUFFER_SIZE_IN_BYTES);
|
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 = "connection-pool";
return (null != ret ? ret.trim() : null);
|
public java.lang.String | getSendBufferSizeInBytes()Getter for SendBufferSizeInBytes of the Element connection-pool
return getAttributeValue(ServerTags.SEND_BUFFER_SIZE_IN_BYTES);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setMaxPendingCount(java.lang.String v)Modify the MaxPendingCount of the Element connection-pool
setAttributeValue(ServerTags.MAX_PENDING_COUNT, v);
|
public void | setMaxPendingCount(java.lang.String v, boolean overwrite)Modify the MaxPendingCount of the Element connection-pool
setAttributeValue(ServerTags.MAX_PENDING_COUNT, v, overwrite);
|
public void | setQueueSizeInBytes(java.lang.String v, boolean overwrite)Modify the QueueSizeInBytes of the Element connection-pool
setAttributeValue(ServerTags.QUEUE_SIZE_IN_BYTES, v, overwrite);
|
public void | setQueueSizeInBytes(java.lang.String v)Modify the QueueSizeInBytes of the Element connection-pool
setAttributeValue(ServerTags.QUEUE_SIZE_IN_BYTES, v);
|
public void | setReceiveBufferSizeInBytes(java.lang.String v, boolean overwrite)Modify the ReceiveBufferSizeInBytes of the Element connection-pool
setAttributeValue(ServerTags.RECEIVE_BUFFER_SIZE_IN_BYTES, v, overwrite);
|
public void | setReceiveBufferSizeInBytes(java.lang.String v)Modify the ReceiveBufferSizeInBytes of the Element connection-pool
setAttributeValue(ServerTags.RECEIVE_BUFFER_SIZE_IN_BYTES, v);
|
public void | setSendBufferSizeInBytes(java.lang.String v, boolean overwrite)Modify the SendBufferSizeInBytes of the Element connection-pool
setAttributeValue(ServerTags.SEND_BUFFER_SIZE_IN_BYTES, v, overwrite);
|
public void | setSendBufferSizeInBytes(java.lang.String v)Modify the SendBufferSizeInBytes of the Element connection-pool
setAttributeValue(ServerTags.SEND_BUFFER_SIZE_IN_BYTES, v);
|
public void | validate()
|