FileDocCategorySizeDatePackage
JdbcConnectionPool.javaAPI DocGlassfish v2 API37316Sun Dec 10 15:26:10 GMT 2006com.sun.enterprise.config.serverbeans

JdbcConnectionPool

public class JdbcConnectionPool extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class JdbcConnectionPool matches the DTD element jdbc-connection-pool

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
public static final String
DESCRIPTION
public static final String
ELEMENT_PROPERTY
Constructors Summary
public JdbcConnectionPool()


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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(2);
		this.createProperty("description", DESCRIPTION, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("property", ELEMENT_PROPERTY, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ElementProperty.class);
		this.createAttribute(ELEMENT_PROPERTY, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(ELEMENT_PROPERTY, "value", "Value", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public intaddElementProperty(ElementProperty value)

		return addElementProperty(value, true);
	
public intaddElementProperty(ElementProperty value, boolean overwrite)

		ElementProperty old = getElementPropertyByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(JdbcConnectionPool.class).getString("cannotAddDuplicate",  "ElementProperty"));
		}
		return this.addValue(ELEMENT_PROPERTY, value, overwrite);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
		str.append(indent);
		str.append("Description");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		o = this.getDescription();
		str.append((o==null?"null":o.toString().trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(DESCRIPTION, 0, str, indent);

		str.append(indent);
		str.append("ElementProperty["+this.sizeElementProperty()+"]");	// NOI18N
		for(int i=0; i<this.sizeElementProperty(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getElementProperty(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(ELEMENT_PROPERTY, i, str, indent);
		}

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("JdbcConnectionPool\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetConnectionCreationRetryAttempts()
Getter for ConnectionCreationRetryAttempts of the Element jdbc-connection-pool

return
the ConnectionCreationRetryAttempts of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_ATTEMPTS);
	
public java.lang.StringgetConnectionCreationRetryIntervalInSeconds()
Getter for ConnectionCreationRetryIntervalInSeconds of the Element jdbc-connection-pool

return
the ConnectionCreationRetryIntervalInSeconds of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_INTERVAL_IN_SECONDS);
	
public java.lang.StringgetConnectionLeakTimeoutInSeconds()
Getter for ConnectionLeakTimeoutInSeconds of the Element jdbc-connection-pool

return
the ConnectionLeakTimeoutInSeconds of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.CONNECTION_LEAK_TIMEOUT_IN_SECONDS);
	
public java.lang.StringgetConnectionValidationMethod()
Getter for ConnectionValidationMethod of the Element jdbc-connection-pool

return
the ConnectionValidationMethod of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.CONNECTION_VALIDATION_METHOD);
	
public java.lang.StringgetDatasourceClassname()
Getter for DatasourceClassname of the Element jdbc-connection-pool

return
the DatasourceClassname of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.DATASOURCE_CLASSNAME);
	
public static java.lang.StringgetDefaultAllowNonComponentCallers()
Get the default value of AllowNonComponentCallers from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultAssociateWithThread()
Get the default value of AssociateWithThread from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
		if(attr.equals(ServerTags.STEADY_POOL_SIZE)) return "8".trim();
		if(attr.equals(ServerTags.MAX_POOL_SIZE)) return "32".trim();
		if(attr.equals(ServerTags.MAX_WAIT_TIME_IN_MILLIS)) return "60000".trim();
		if(attr.equals(ServerTags.POOL_RESIZE_QUANTITY)) return "2".trim();
		if(attr.equals(ServerTags.IDLE_TIMEOUT_IN_SECONDS)) return "300".trim();
		if(attr.equals(ServerTags.IS_ISOLATION_LEVEL_GUARANTEED)) return "true".trim();
		if(attr.equals(ServerTags.IS_CONNECTION_VALIDATION_REQUIRED)) return "false".trim();
		if(attr.equals(ServerTags.CONNECTION_VALIDATION_METHOD)) return "auto-commit".trim();
		if(attr.equals(ServerTags.FAIL_ALL_CONNECTIONS)) return "false".trim();
		if(attr.equals(ServerTags.NON_TRANSACTIONAL_CONNECTIONS)) return "false".trim();
		if(attr.equals(ServerTags.ALLOW_NON_COMPONENT_CALLERS)) return "false".trim();
		if(attr.equals(ServerTags.VALIDATE_ATMOST_ONCE_PERIOD_IN_SECONDS)) return "0".trim();
		if(attr.equals(ServerTags.CONNECTION_LEAK_TIMEOUT_IN_SECONDS)) return "0".trim();
		if(attr.equals(ServerTags.CONNECTION_LEAK_RECLAIM)) return "false".trim();
		if(attr.equals(ServerTags.CONNECTION_CREATION_RETRY_ATTEMPTS)) return "0".trim();
		if(attr.equals(ServerTags.CONNECTION_CREATION_RETRY_INTERVAL_IN_SECONDS)) return "10".trim();
		if(attr.equals(ServerTags.STATEMENT_TIMEOUT_IN_SECONDS)) return "-1".trim();
		if(attr.equals(ServerTags.LAZY_CONNECTION_ENLISTMENT)) return "false".trim();
		if(attr.equals(ServerTags.LAZY_CONNECTION_ASSOCIATION)) return "false".trim();
		if(attr.equals(ServerTags.ASSOCIATE_WITH_THREAD)) return "false".trim();
		if(attr.equals(ServerTags.MATCH_CONNECTIONS)) return "false".trim();
		if(attr.equals(ServerTags.MAX_CONNECTION_USAGE_COUNT)) return "0".trim();
		if(attr.equals(ServerTags.WRAP_JDBC_OBJECTS)) return "false".trim();
	return null;
	
public static java.lang.StringgetDefaultConnectionCreationRetryAttempts()
Get the default value of ConnectionCreationRetryAttempts from dtd

		return "0".trim();
	
public static java.lang.StringgetDefaultConnectionCreationRetryIntervalInSeconds()
Get the default value of ConnectionCreationRetryIntervalInSeconds from dtd

		return "10".trim();
	
public static java.lang.StringgetDefaultConnectionLeakReclaim()
Get the default value of ConnectionLeakReclaim from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultConnectionLeakTimeoutInSeconds()
Get the default value of ConnectionLeakTimeoutInSeconds from dtd

		return "0".trim();
	
public static java.lang.StringgetDefaultConnectionValidationMethod()
Get the default value of ConnectionValidationMethod from dtd

		return "auto-commit".trim();
	
public static java.lang.StringgetDefaultFailAllConnections()
Get the default value of FailAllConnections from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultIdleTimeoutInSeconds()
Get the default value of IdleTimeoutInSeconds from dtd

		return "300".trim();
	
public static java.lang.StringgetDefaultIsConnectionValidationRequired()
Get the default value of IsConnectionValidationRequired from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultIsIsolationLevelGuaranteed()
Get the default value of IsIsolationLevelGuaranteed from dtd

		return "true".trim();
	
public static java.lang.StringgetDefaultLazyConnectionAssociation()
Get the default value of LazyConnectionAssociation from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultLazyConnectionEnlistment()
Get the default value of LazyConnectionEnlistment from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultMatchConnections()
Get the default value of MatchConnections from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultMaxConnectionUsageCount()
Get the default value of MaxConnectionUsageCount from dtd

		return "0".trim();
	
public static java.lang.StringgetDefaultMaxPoolSize()
Get the default value of MaxPoolSize from dtd

		return "32".trim();
	
public static java.lang.StringgetDefaultMaxWaitTimeInMillis()
Get the default value of MaxWaitTimeInMillis from dtd

		return "60000".trim();
	
public static java.lang.StringgetDefaultNonTransactionalConnections()
Get the default value of NonTransactionalConnections from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultPoolResizeQuantity()
Get the default value of PoolResizeQuantity from dtd

		return "2".trim();
	
public static java.lang.StringgetDefaultStatementTimeoutInSeconds()
Get the default value of StatementTimeoutInSeconds from dtd

		return "-1".trim();
	
public static java.lang.StringgetDefaultSteadyPoolSize()
Get the default value of SteadyPoolSize from dtd

		return "8".trim();
	
public static java.lang.StringgetDefaultValidateAtmostOncePeriodInSeconds()
Get the default value of ValidateAtmostOncePeriodInSeconds from dtd

		return "0".trim();
	
public static java.lang.StringgetDefaultWrapJdbcObjects()
Get the default value of WrapJdbcObjects from dtd

		return "false".trim();
	
public java.lang.StringgetDescription()
Return the Description of the Element jdbc-connection-pool

		return (String) getValue(ServerTags.DESCRIPTION);
	
public ElementPropertygetElementProperty(int index)

		return (ElementProperty)this.getValue(ELEMENT_PROPERTY, index);
	
public ElementProperty[]getElementProperty()

		return (ElementProperty[])this.getValues(ELEMENT_PROPERTY);
	
public ElementPropertygetElementPropertyByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	ElementProperty[] o = getElementProperty();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public java.lang.StringgetIdleTimeoutInSeconds()
Getter for IdleTimeoutInSeconds of the Element jdbc-connection-pool

return
the IdleTimeoutInSeconds of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.IDLE_TIMEOUT_IN_SECONDS);
	
public java.lang.StringgetMaxConnectionUsageCount()
Getter for MaxConnectionUsageCount of the Element jdbc-connection-pool

return
the MaxConnectionUsageCount of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.MAX_CONNECTION_USAGE_COUNT);
	
public java.lang.StringgetMaxPoolSize()
Getter for MaxPoolSize of the Element jdbc-connection-pool

return
the MaxPoolSize of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.MAX_POOL_SIZE);
	
public java.lang.StringgetMaxWaitTimeInMillis()
Getter for MaxWaitTimeInMillis of the Element jdbc-connection-pool

return
the MaxWaitTimeInMillis of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.MAX_WAIT_TIME_IN_MILLIS);
	
public java.lang.StringgetName()
Getter for Name of the Element jdbc-connection-pool

return
the Name of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.NAME);
	
public java.lang.StringgetPoolResizeQuantity()
Getter for PoolResizeQuantity of the Element jdbc-connection-pool

return
the PoolResizeQuantity of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.POOL_RESIZE_QUANTITY);
	
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 = "jdbc-connection-pool" + (canHaveSiblings() ? "[@name='" + getAttributeValue("name") +"']" : "") ;
	    return (null != ret ? ret.trim() : null);
	
public java.lang.StringgetResType()
Getter for ResType of the Element jdbc-connection-pool

return
the ResType of the Element jdbc-connection-pool

			return getAttributeValue(ServerTags.RES_TYPE);
	
public java.lang.StringgetStatementTimeoutInSeconds()
Getter for StatementTimeoutInSeconds of the Element jdbc-connection-pool

return
the StatementTimeoutInSeconds of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.STATEMENT_TIMEOUT_IN_SECONDS);
	
public java.lang.StringgetSteadyPoolSize()
Getter for SteadyPoolSize of the Element jdbc-connection-pool

return
the SteadyPoolSize of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.STEADY_POOL_SIZE);
	
public java.lang.StringgetTransactionIsolationLevel()
Getter for TransactionIsolationLevel of the Element jdbc-connection-pool

return
the TransactionIsolationLevel of the Element jdbc-connection-pool

			return getAttributeValue(ServerTags.TRANSACTION_ISOLATION_LEVEL);
	
public java.lang.StringgetValidateAtmostOncePeriodInSeconds()
Getter for ValidateAtmostOncePeriodInSeconds of the Element jdbc-connection-pool

return
the ValidateAtmostOncePeriodInSeconds of the Element jdbc-connection-pool

		return getAttributeValue(ServerTags.VALIDATE_ATMOST_ONCE_PERIOD_IN_SECONDS);
	
public java.lang.StringgetValidationTableName()
Getter for ValidationTableName of the Element jdbc-connection-pool

return
the ValidationTableName of the Element jdbc-connection-pool

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


	
public booleanisAllowNonComponentCallers()
Getter for AllowNonComponentCallers of the Element jdbc-connection-pool

return
the AllowNonComponentCallers of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.ALLOW_NON_COMPONENT_CALLERS));
	
public booleanisAssociateWithThread()
Getter for AssociateWithThread of the Element jdbc-connection-pool

return
the AssociateWithThread of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.ASSOCIATE_WITH_THREAD));
	
public booleanisConnectionLeakReclaim()
Getter for ConnectionLeakReclaim of the Element jdbc-connection-pool

return
the ConnectionLeakReclaim of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.CONNECTION_LEAK_RECLAIM));
	
public booleanisFailAllConnections()
Getter for FailAllConnections of the Element jdbc-connection-pool

return
the FailAllConnections of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.FAIL_ALL_CONNECTIONS));
	
public booleanisIsConnectionValidationRequired()
Getter for IsConnectionValidationRequired of the Element jdbc-connection-pool

return
the IsConnectionValidationRequired of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.IS_CONNECTION_VALIDATION_REQUIRED));
	
public booleanisIsIsolationLevelGuaranteed()
Getter for IsIsolationLevelGuaranteed of the Element jdbc-connection-pool

return
the IsIsolationLevelGuaranteed of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.IS_ISOLATION_LEVEL_GUARANTEED));
	
public booleanisLazyConnectionAssociation()
Getter for LazyConnectionAssociation of the Element jdbc-connection-pool

return
the LazyConnectionAssociation of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.LAZY_CONNECTION_ASSOCIATION));
	
public booleanisLazyConnectionEnlistment()
Getter for LazyConnectionEnlistment of the Element jdbc-connection-pool

return
the LazyConnectionEnlistment of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.LAZY_CONNECTION_ENLISTMENT));
	
public booleanisMatchConnections()
Getter for MatchConnections of the Element jdbc-connection-pool

return
the MatchConnections of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.MATCH_CONNECTIONS));
	
public booleanisNonTransactionalConnections()
Getter for NonTransactionalConnections of the Element jdbc-connection-pool

return
the NonTransactionalConnections of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.NON_TRANSACTIONAL_CONNECTIONS));
	
public booleanisWrapJdbcObjects()
Getter for WrapJdbcObjects of the Element jdbc-connection-pool

return
the WrapJdbcObjects of the Element jdbc-connection-pool

		return toBoolean(getAttributeValue(ServerTags.WRAP_JDBC_OBJECTS));
	
public ElementPropertynewElementProperty()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new ElementProperty();
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public intremoveElementProperty(ElementProperty value)

		return this.removeValue(ELEMENT_PROPERTY, value);
	
public intremoveElementProperty(ElementProperty value, boolean overwrite)

		return this.removeValue(ELEMENT_PROPERTY, value, overwrite);
	
public voidsetAllowNonComponentCallers(boolean v, boolean overwrite)
Modify the AllowNonComponentCallers of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.ALLOW_NON_COMPONENT_CALLERS, ""+(v==true), overwrite);
	
public voidsetAllowNonComponentCallers(boolean v)
Modify the AllowNonComponentCallers of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.ALLOW_NON_COMPONENT_CALLERS, ""+(v==true));
	
public voidsetAssociateWithThread(boolean v, boolean overwrite)
Modify the AssociateWithThread of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.ASSOCIATE_WITH_THREAD, ""+(v==true), overwrite);
	
public voidsetAssociateWithThread(boolean v)
Modify the AssociateWithThread of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.ASSOCIATE_WITH_THREAD, ""+(v==true));
	
public voidsetConnectionCreationRetryAttempts(java.lang.String v, boolean overwrite)
Modify the ConnectionCreationRetryAttempts of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_ATTEMPTS, v, overwrite);
	
public voidsetConnectionCreationRetryAttempts(java.lang.String v)
Modify the ConnectionCreationRetryAttempts of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_ATTEMPTS, v);
	
public voidsetConnectionCreationRetryIntervalInSeconds(java.lang.String v, boolean overwrite)
Modify the ConnectionCreationRetryIntervalInSeconds of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_INTERVAL_IN_SECONDS, v, overwrite);
	
public voidsetConnectionCreationRetryIntervalInSeconds(java.lang.String v)
Modify the ConnectionCreationRetryIntervalInSeconds of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_INTERVAL_IN_SECONDS, v);
	
public voidsetConnectionLeakReclaim(boolean v, boolean overwrite)
Modify the ConnectionLeakReclaim of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.CONNECTION_LEAK_RECLAIM, ""+(v==true), overwrite);
	
public voidsetConnectionLeakReclaim(boolean v)
Modify the ConnectionLeakReclaim of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_LEAK_RECLAIM, ""+(v==true));
	
public voidsetConnectionLeakTimeoutInSeconds(java.lang.String v, boolean overwrite)
Modify the ConnectionLeakTimeoutInSeconds of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.CONNECTION_LEAK_TIMEOUT_IN_SECONDS, v, overwrite);
	
public voidsetConnectionLeakTimeoutInSeconds(java.lang.String v)
Modify the ConnectionLeakTimeoutInSeconds of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_LEAK_TIMEOUT_IN_SECONDS, v);
	
public voidsetConnectionValidationMethod(java.lang.String v, boolean overwrite)
Modify the ConnectionValidationMethod of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.CONNECTION_VALIDATION_METHOD, v, overwrite);
	
public voidsetConnectionValidationMethod(java.lang.String v)
Modify the ConnectionValidationMethod of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_VALIDATION_METHOD, v);
	
public voidsetDatasourceClassname(java.lang.String v, boolean overwrite)
Modify the DatasourceClassname of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.DATASOURCE_CLASSNAME, v, overwrite);
	
public voidsetDatasourceClassname(java.lang.String v)
Modify the DatasourceClassname of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.DATASOURCE_CLASSNAME, v);
	
public voidsetDescription(java.lang.String v)
Modify the Description of the Element jdbc-connection-pool

param
v the new value

		setValue(ServerTags.DESCRIPTION, (null != v ? v.trim() : null));
		
public voidsetElementProperty(ElementProperty[] value)

		this.setValue(ELEMENT_PROPERTY, value);
	
public voidsetFailAllConnections(boolean v, boolean overwrite)
Modify the FailAllConnections of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.FAIL_ALL_CONNECTIONS, ""+(v==true), overwrite);
	
public voidsetFailAllConnections(boolean v)
Modify the FailAllConnections of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.FAIL_ALL_CONNECTIONS, ""+(v==true));
	
public voidsetIdleTimeoutInSeconds(java.lang.String v, boolean overwrite)
Modify the IdleTimeoutInSeconds of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.IDLE_TIMEOUT_IN_SECONDS, v, overwrite);
	
public voidsetIdleTimeoutInSeconds(java.lang.String v)
Modify the IdleTimeoutInSeconds of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.IDLE_TIMEOUT_IN_SECONDS, v);
	
public voidsetIsConnectionValidationRequired(boolean v, boolean overwrite)
Modify the IsConnectionValidationRequired of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.IS_CONNECTION_VALIDATION_REQUIRED, ""+(v==true), overwrite);
	
public voidsetIsConnectionValidationRequired(boolean v)
Modify the IsConnectionValidationRequired of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.IS_CONNECTION_VALIDATION_REQUIRED, ""+(v==true));
	
public voidsetIsIsolationLevelGuaranteed(boolean v, boolean overwrite)
Modify the IsIsolationLevelGuaranteed of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.IS_ISOLATION_LEVEL_GUARANTEED, ""+(v==true), overwrite);
	
public voidsetIsIsolationLevelGuaranteed(boolean v)
Modify the IsIsolationLevelGuaranteed of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.IS_ISOLATION_LEVEL_GUARANTEED, ""+(v==true));
	
public voidsetLazyConnectionAssociation(boolean v, boolean overwrite)
Modify the LazyConnectionAssociation of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.LAZY_CONNECTION_ASSOCIATION, ""+(v==true), overwrite);
	
public voidsetLazyConnectionAssociation(boolean v)
Modify the LazyConnectionAssociation of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.LAZY_CONNECTION_ASSOCIATION, ""+(v==true));
	
public voidsetLazyConnectionEnlistment(boolean v)
Modify the LazyConnectionEnlistment of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.LAZY_CONNECTION_ENLISTMENT, ""+(v==true));
	
public voidsetLazyConnectionEnlistment(boolean v, boolean overwrite)
Modify the LazyConnectionEnlistment of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.LAZY_CONNECTION_ENLISTMENT, ""+(v==true), overwrite);
	
public voidsetMatchConnections(boolean v, boolean overwrite)
Modify the MatchConnections of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.MATCH_CONNECTIONS, ""+(v==true), overwrite);
	
public voidsetMatchConnections(boolean v)
Modify the MatchConnections of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.MATCH_CONNECTIONS, ""+(v==true));
	
public voidsetMaxConnectionUsageCount(java.lang.String v, boolean overwrite)
Modify the MaxConnectionUsageCount of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.MAX_CONNECTION_USAGE_COUNT, v, overwrite);
	
public voidsetMaxConnectionUsageCount(java.lang.String v)
Modify the MaxConnectionUsageCount of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.MAX_CONNECTION_USAGE_COUNT, v);
	
public voidsetMaxPoolSize(java.lang.String v, boolean overwrite)
Modify the MaxPoolSize of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.MAX_POOL_SIZE, v, overwrite);
	
public voidsetMaxPoolSize(java.lang.String v)
Modify the MaxPoolSize of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.MAX_POOL_SIZE, v);
	
public voidsetMaxWaitTimeInMillis(java.lang.String v, boolean overwrite)
Modify the MaxWaitTimeInMillis of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.MAX_WAIT_TIME_IN_MILLIS, v, overwrite);
	
public voidsetMaxWaitTimeInMillis(java.lang.String v)
Modify the MaxWaitTimeInMillis of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.MAX_WAIT_TIME_IN_MILLIS, v);
	
public voidsetName(java.lang.String v, boolean overwrite)
Modify the Name of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.NAME, v, overwrite);
	
public voidsetName(java.lang.String v)
Modify the Name of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.NAME, v);
	
public voidsetNonTransactionalConnections(boolean v, boolean overwrite)
Modify the NonTransactionalConnections of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.NON_TRANSACTIONAL_CONNECTIONS, ""+(v==true), overwrite);
	
public voidsetNonTransactionalConnections(boolean v)
Modify the NonTransactionalConnections of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.NON_TRANSACTIONAL_CONNECTIONS, ""+(v==true));
	
public voidsetPoolResizeQuantity(java.lang.String v, boolean overwrite)
Modify the PoolResizeQuantity of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.POOL_RESIZE_QUANTITY, v, overwrite);
	
public voidsetPoolResizeQuantity(java.lang.String v)
Modify the PoolResizeQuantity of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.POOL_RESIZE_QUANTITY, v);
	
public voidsetResType(java.lang.String v, boolean overwrite)
Modify the ResType of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.RES_TYPE, v, overwrite);
	
public voidsetResType(java.lang.String v)
Modify the ResType of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.RES_TYPE, v);
	
public voidsetStatementTimeoutInSeconds(java.lang.String v, boolean overwrite)
Modify the StatementTimeoutInSeconds of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.STATEMENT_TIMEOUT_IN_SECONDS, v, overwrite);
	
public voidsetStatementTimeoutInSeconds(java.lang.String v)
Modify the StatementTimeoutInSeconds of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.STATEMENT_TIMEOUT_IN_SECONDS, v);
	
public voidsetSteadyPoolSize(java.lang.String v, boolean overwrite)
Modify the SteadyPoolSize of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.STEADY_POOL_SIZE, v, overwrite);
	
public voidsetSteadyPoolSize(java.lang.String v)
Modify the SteadyPoolSize of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.STEADY_POOL_SIZE, v);
	
public voidsetTransactionIsolationLevel(java.lang.String v, boolean overwrite)
Modify the TransactionIsolationLevel of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.TRANSACTION_ISOLATION_LEVEL, v, overwrite);
	
public voidsetTransactionIsolationLevel(java.lang.String v)
Modify the TransactionIsolationLevel of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.TRANSACTION_ISOLATION_LEVEL, v);
	
public voidsetValidateAtmostOncePeriodInSeconds(java.lang.String v, boolean overwrite)
Modify the ValidateAtmostOncePeriodInSeconds of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.VALIDATE_ATMOST_ONCE_PERIOD_IN_SECONDS, v, overwrite);
	
public voidsetValidateAtmostOncePeriodInSeconds(java.lang.String v)
Modify the ValidateAtmostOncePeriodInSeconds of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.VALIDATE_ATMOST_ONCE_PERIOD_IN_SECONDS, v);
	
public voidsetValidationTableName(java.lang.String v, boolean overwrite)
Modify the ValidationTableName of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.VALIDATION_TABLE_NAME, v, overwrite);
	
public voidsetValidationTableName(java.lang.String v)
Modify the ValidationTableName of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.VALIDATION_TABLE_NAME, v);
	
public voidsetWrapJdbcObjects(boolean v, boolean overwrite)
Modify the WrapJdbcObjects of the Element jdbc-connection-pool

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

		setAttributeValue(ServerTags.WRAP_JDBC_OBJECTS, ""+(v==true), overwrite);
	
public voidsetWrapJdbcObjects(boolean v)
Modify the WrapJdbcObjects of the Element jdbc-connection-pool

param
v the new value

		setAttributeValue(ServerTags.WRAP_JDBC_OBJECTS, ""+(v==true));
	
public intsizeElementProperty()

		return this.size(ELEMENT_PROPERTY);
	
public voidvalidate()