FileDocCategorySizeDatePackage
ConnectorConnectionPool.javaAPI DocGlassfish v2 API33017Sun Oct 29 18:33:02 GMT 2006com.sun.enterprise.config.serverbeans

ConnectorConnectionPool

public class ConnectorConnectionPool extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class ConnectorConnectionPool matches the DTD element connector-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
SECURITY_MAP
public static final String
ELEMENT_PROPERTY
Constructors Summary
public ConnectorConnectionPool()


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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(3);
		this.createProperty("description", DESCRIPTION, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("security-map", SECURITY_MAP, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			SecurityMap.class);
		this.createAttribute(SECURITY_MAP, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		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(ConnectorConnectionPool.class).getString("cannotAddDuplicate",  "ElementProperty"));
		}
		return this.addValue(ELEMENT_PROPERTY, value, overwrite);
	
public intaddSecurityMap(SecurityMap value)

		return addSecurityMap(value, true);
	
public intaddSecurityMap(SecurityMap value, boolean overwrite)

		SecurityMap old = getSecurityMapByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(ConnectorConnectionPool.class).getString("cannotAddDuplicate",  "SecurityMap"));
		}
		return this.addValue(SECURITY_MAP, 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("SecurityMap["+this.sizeSecurityMap()+"]");	// NOI18N
		for(int i=0; i<this.sizeSecurityMap(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getSecurityMap(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(SECURITY_MAP, i, 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("ConnectorConnectionPool\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetConnectionCreationRetryAttempts()
Getter for ConnectionCreationRetryAttempts of the Element connector-connection-pool

return
the ConnectionCreationRetryAttempts of the Element connector-connection-pool

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

return
the ConnectionCreationRetryIntervalInSeconds of the Element connector-connection-pool

		return getAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_INTERVAL_IN_SECONDS);
	
public java.lang.StringgetConnectionDefinitionName()
Getter for ConnectionDefinitionName of the Element connector-connection-pool

return
the ConnectionDefinitionName of the Element connector-connection-pool

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

return
the ConnectionLeakTimeoutInSeconds of the Element connector-connection-pool

		return getAttributeValue(ServerTags.CONNECTION_LEAK_TIMEOUT_IN_SECONDS);
	
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.FAIL_ALL_CONNECTIONS)) return "false".trim();
		if(attr.equals(ServerTags.IS_CONNECTION_VALIDATION_REQUIRED)) 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.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 "true".trim();
		if(attr.equals(ServerTags.MAX_CONNECTION_USAGE_COUNT)) return "0".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.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.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 "true".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.StringgetDefaultPoolResizeQuantity()
Get the default value of PoolResizeQuantity from dtd

		return "2".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 java.lang.StringgetDescription()
Return the Description of the Element connector-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 connector-connection-pool

return
the IdleTimeoutInSeconds of the Element connector-connection-pool

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

return
the MaxConnectionUsageCount of the Element connector-connection-pool

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

return
the MaxPoolSize of the Element connector-connection-pool

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

return
the MaxWaitTimeInMillis of the Element connector-connection-pool

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

return
the Name of the Element connector-connection-pool

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

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

return
the ResourceAdapterName of the Element connector-connection-pool

		return getAttributeValue(ServerTags.RESOURCE_ADAPTER_NAME);
	
public SecurityMapgetSecurityMap(int index)

		return (SecurityMap)this.getValue(SECURITY_MAP, index);
	
public SecurityMap[]getSecurityMap()

		return (SecurityMap[])this.getValues(SECURITY_MAP);
	
public SecurityMapgetSecurityMapByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	SecurityMap[] o = getSecurityMap();
	 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.StringgetSteadyPoolSize()
Getter for SteadyPoolSize of the Element connector-connection-pool

return
the SteadyPoolSize of the Element connector-connection-pool

		return getAttributeValue(ServerTags.STEADY_POOL_SIZE);
	
public java.lang.StringgetTransactionSupport()
Getter for TransactionSupport of the Element connector-connection-pool

return
the TransactionSupport of the Element connector-connection-pool

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

return
the ValidateAtmostOncePeriodInSeconds of the Element connector-connection-pool

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


	
public booleanisAssociateWithThread()
Getter for AssociateWithThread of the Element connector-connection-pool

return
the AssociateWithThread of the Element connector-connection-pool

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

return
the ConnectionLeakReclaim of the Element connector-connection-pool

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

return
the FailAllConnections of the Element connector-connection-pool

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

return
the IsConnectionValidationRequired of the Element connector-connection-pool

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

return
the LazyConnectionAssociation of the Element connector-connection-pool

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

return
the LazyConnectionEnlistment of the Element connector-connection-pool

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

return
the MatchConnections of the Element connector-connection-pool

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

		return new ElementProperty();
	
public SecurityMapnewSecurityMap()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new SecurityMap();
	
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 intremoveSecurityMap(SecurityMap value)

		return this.removeValue(SECURITY_MAP, value);
	
public intremoveSecurityMap(SecurityMap value, boolean overwrite)

		return this.removeValue(SECURITY_MAP, value, overwrite);
	
public voidsetAssociateWithThread(boolean v, boolean overwrite)
Modify the AssociateWithThread of the Element connector-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 connector-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 connector-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 connector-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 connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_CREATION_RETRY_INTERVAL_IN_SECONDS, v);
	
public voidsetConnectionDefinitionName(java.lang.String v, boolean overwrite)
Modify the ConnectionDefinitionName of the Element connector-connection-pool

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

		setAttributeValue(ServerTags.CONNECTION_DEFINITION_NAME, v, overwrite);
	
public voidsetConnectionDefinitionName(java.lang.String v)
Modify the ConnectionDefinitionName of the Element connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_DEFINITION_NAME, v);
	
public voidsetConnectionLeakReclaim(boolean v, boolean overwrite)
Modify the ConnectionLeakReclaim of the Element connector-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 connector-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 connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.CONNECTION_LEAK_TIMEOUT_IN_SECONDS, v);
	
public voidsetDescription(java.lang.String v)
Modify the Description of the Element connector-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 connector-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 connector-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 connector-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 connector-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 connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.IS_CONNECTION_VALIDATION_REQUIRED, ""+(v==true));
	
public voidsetLazyConnectionAssociation(boolean v, boolean overwrite)
Modify the LazyConnectionAssociation of the Element connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.LAZY_CONNECTION_ASSOCIATION, ""+(v==true));
	
public voidsetLazyConnectionEnlistment(boolean v, boolean overwrite)
Modify the LazyConnectionEnlistment of the Element connector-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 voidsetLazyConnectionEnlistment(boolean v)
Modify the LazyConnectionEnlistment of the Element connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.LAZY_CONNECTION_ENLISTMENT, ""+(v==true));
	
public voidsetMatchConnections(boolean v, boolean overwrite)
Modify the MatchConnections of the Element connector-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 connector-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 connector-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 connector-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 connector-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 connector-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 connector-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 connector-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 connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.NAME, v);
	
public voidsetPoolResizeQuantity(java.lang.String v, boolean overwrite)
Modify the PoolResizeQuantity of the Element connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.POOL_RESIZE_QUANTITY, v);
	
public voidsetResourceAdapterName(java.lang.String v, boolean overwrite)
Modify the ResourceAdapterName of the Element connector-connection-pool

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

		setAttributeValue(ServerTags.RESOURCE_ADAPTER_NAME, v, overwrite);
	
public voidsetResourceAdapterName(java.lang.String v)
Modify the ResourceAdapterName of the Element connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.RESOURCE_ADAPTER_NAME, v);
	
public voidsetSecurityMap(SecurityMap[] value)

		this.setValue(SECURITY_MAP, value);
	
public voidsetSteadyPoolSize(java.lang.String v, boolean overwrite)
Modify the SteadyPoolSize of the Element connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.STEADY_POOL_SIZE, v);
	
public voidsetTransactionSupport(java.lang.String v, boolean overwrite)
Modify the TransactionSupport of the Element connector-connection-pool

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

		setAttributeValue(ServerTags.TRANSACTION_SUPPORT, v, overwrite);
	
public voidsetTransactionSupport(java.lang.String v)
Modify the TransactionSupport of the Element connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.TRANSACTION_SUPPORT, v);
	
public voidsetValidateAtmostOncePeriodInSeconds(java.lang.String v, boolean overwrite)
Modify the ValidateAtmostOncePeriodInSeconds of the Element connector-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 connector-connection-pool

param
v the new value

		setAttributeValue(ServerTags.VALIDATE_ATMOST_ONCE_PERIOD_IN_SECONDS, v);
	
public intsizeElementProperty()

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

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