Methods Summary |
---|
public boolean | FactoryName(java.lang.String value, java.util.List resources)
boolean exists = false;
//List pm1 = com.iplanet.ias.tools.forte.globalsettings.IasGlobalOptionsSettings.DEFAULT.getPMFactoryInsts();
for(int i=0; i<resources.size(); i++){
IJdbcConnectionPool instance = (IJdbcConnectionPool) resources.get(i);
String inst = instance.getName();
if(inst.equals(value))
exists = true;
}//for
return exists;
|
public void | addPropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.addPropertyChangeListener (listener);
|
public java.lang.String | getConnectionIdleTimeoutInSeconds()
return ConnectionIdleTimeoutInSeconds;
|
public java.lang.String | getConnectionValidationType()
return ConnectionValidationType;
|
public java.lang.String | getConnectionsIncrement()
return ConnectionsIncrement;
|
public NameValuePair[] | getExtParams()
return extParams;
|
public java.lang.String | getFailAllConnections()
return FailAllConnections;
|
public java.lang.String | getId()
return id;
|
public java.lang.String | getIsConnectionValidationRequired()
return IsConnectionValidationRequired;
|
public java.lang.String | getIsIsolationLevelGuaranteed()
return IsIsolationLevelGuaranteed;
|
public java.lang.String | getJdbcFactoryClassName()
return JdbcFactoryClassName;
|
public java.lang.String | getMaxConnectionWaitTimeInMillis()
return MaxConnectionWaitTimeInMillis;
|
public java.lang.String | getMaxConnectionsInPool()
return MaxConnectionsInPool;
|
public java.lang.String | getMinConnectionsInPool()
return MinConnectionsInPool;
|
public java.lang.String | getName()
return name;
|
public java.lang.String | getResType()
return ResType;
|
public java.lang.String | getValidationTableName()
return ValidationTableName;
|
public java.lang.String | getXIsolationLevel()
return XIsolationLevel;
|
private void | initPropertyChangeSupport()
if(propertySupport==null)
propertySupport = new PropertyChangeSupport ( this );
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.removePropertyChangeListener (listener);
|
public void | setConnectionIdleTimeoutInSeconds(java.lang.String value)
String oldValue = ConnectionIdleTimeoutInSeconds;
this.ConnectionIdleTimeoutInSeconds = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("ConnectionIdleTimeoutInSeconds", oldValue, ConnectionIdleTimeoutInSeconds);//NOI18N
|
public void | setConnectionValidationType(java.lang.String value)
String oldValue = ConnectionValidationType;
this.ConnectionValidationType = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("ConnectionValidationType", oldValue, ConnectionValidationType);//NOI18N
|
public void | setConnectionsIncrement(java.lang.String value)
String oldValue = ConnectionsIncrement;
this.ConnectionsIncrement = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("ConnectionsIncrement", oldValue, ConnectionsIncrement);//NOI18N
|
public void | setExtParams(java.lang.Object[] value)
Reporter.info(new Integer(value.length)); //NOI18N
NameValuePair[] pairs = new NameValuePair[value.length];
for (int i = 0; i < value.length; i++) {
NameValuePair val = (NameValuePair)value[i];
NameValuePair pair = new NameValuePair();
pair.setParamName(val.getParamName());
pair.setParamValue(val.getParamValue());
pair.setParamDescription(val.getParamDescription());
Reporter.info(pair.getParamName() + " " + pair.getParamValue()); //NOI18N
pairs[i] = pair;
}
NameValuePair[] oldValue = extParams;
this.extParams = pairs;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("extParams", oldValue, extParams);//NOI18N
|
public void | setFailAllConnections(java.lang.String value)
String oldValue = FailAllConnections;
this.FailAllConnections = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("FailAllConnections", oldValue, FailAllConnections);//NOI18N
|
public void | setId(java.lang.String value)
String oldValue = id;
this.id = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("id", oldValue, id);//NOI18N
setName(id);
|
public void | setIsConnectionValidationRequired(java.lang.String value)
String oldValue = IsConnectionValidationRequired;
this.IsConnectionValidationRequired = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("IsConnectionValidationRequired", oldValue, IsConnectionValidationRequired);//NOI18N
|
public void | setIsIsolationLevelGuaranteed(java.lang.String val)
String prev = this.IsIsolationLevelGuaranteed;
this.IsIsolationLevelGuaranteed = val;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("IsIsolationLevelGuaranteed", prev, IsIsolationLevelGuaranteed);//NOI18N
|
public void | setJdbcFactoryClassName(java.lang.String facname)
String prev = JdbcFactoryClassName;
this.JdbcFactoryClassName = facname;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("JdbcFactoryClassName", prev, JdbcFactoryClassName);//NOI18N
|
public void | setMaxConnectionWaitTimeInMillis(java.lang.String value)
String oldValue = MaxConnectionWaitTimeInMillis;
this.MaxConnectionWaitTimeInMillis = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("MaxConnectionWaitTimeInMillis", oldValue, MaxConnectionWaitTimeInMillis);//NOI18N
|
public void | setMaxConnectionsInPool(java.lang.String value)
String oldValue = MaxConnectionsInPool;
this.MaxConnectionsInPool = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("MaxConnectionsInPool", oldValue, MaxConnectionsInPool);//NOI18N
|
public void | setMinConnectionsInPool(java.lang.String value)
String oldValue = MinConnectionsInPool;
this.MinConnectionsInPool = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("MinConnectionsInPool", oldValue, MinConnectionsInPool);//NOI18N
|
public void | setName(java.lang.String value)
String oldValue = name;
this.name = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("name", oldValue, name);//NOI18N
|
public void | setResType(java.lang.String val)
String prev = this.ResType;
this.ResType = val;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("ResType", prev, ResType);//NOI18N
|
public void | setValidationTableName(java.lang.String value)
String oldValue = ValidationTableName;
this.ValidationTableName = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("ValidationTableName", oldValue, ValidationTableName);//NOI18N
|
public void | setXIsolationLevel(java.lang.String val)
String prev = this.XIsolationLevel;
this.XIsolationLevel = val;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("XIsolationLevel", prev, XIsolationLevel);//NOI18N
|
public void | simpleSetId(java.lang.String value)
this.id = value;
setName(id);
|