Methods Summary |
---|
private boolean | DataSourceName(java.lang.String value, java.util.List pm1)
boolean exists = false;
//IasGlobalOptionsSettings val1 = new IasGlobalOptionsSettings();
//List pm1 = com.iplanet.ias.tools.forte.globalsettings.IasGlobalOptionsSettings.DEFAULT.getDataSources();
//List pm1 = val1.getDataSources();
for(int i=0; i<pm1.size(); i++){
//IDSBean instance = val1.getDSInstance(i);
//IDSBean instance = com.iplanet.ias.tools.forte.globalsettings.IasGlobalOptionsSettings.DEFAULT.getDSInstance(i);
IDSBean instance = (IDSBean) pm1.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 | getDescription()
return Description;
|
public java.lang.String | getEnabled()
return Enabled;
|
public NameValuePair[] | getExtParams()
return extParams;
|
public java.lang.String | getJndiName()
return JndiName;
|
public java.lang.String | getName()
return name;
|
public java.lang.String | getPoolName()
Reporter.info(PoolName + " " + RegPoolName); //NOI18N
return PoolName;
|
public java.lang.String | getRegPoolName()
Reporter.info(PoolName + " " + RegPoolName); //NOI18N
return RegPoolName;
|
private void | initPropertyChangeSupport()
if(propertySupport==null)
propertySupport = new PropertyChangeSupport ( this );
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.removePropertyChangeListener (listener);
|
public void | setDescription(java.lang.String val)
String prev = Description;
this.Description = val;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Description", prev, Description);//NOI18N
|
public void | setEnabled(java.lang.String val)
String prev = Enabled;
this.Enabled = val;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Enabled", prev, Enabled);//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 | setJndiName(java.lang.String jndiName)
String prev = JndiName;
this.JndiName = jndiName;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("JndiName", prev, JndiName);//NOI18N
/*
if (JndiName.startsWith("jdbc")) // NOI18N
setName(JndiName.substring(5));
else
*/
setName(JndiName);
|
public void | setName(java.lang.String value)
String oldValue = " "; // NOI18N
name = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("name", oldValue, name);//NOI18N
|
public void | setPoolName(java.lang.String val)
String prev = PoolName;
this.PoolName = val;
setRegPoolName(PoolName);
Reporter.info(PoolName + " " + RegPoolName); //NOI18N
initPropertyChangeSupport();
propertySupport.firePropertyChange ("PoolName", prev, PoolName);//NOI18N
|
public void | setRegPoolName(java.lang.String val)
String prev = RegPoolName;
int offset = val.indexOf("("); //NOI18N
if (offset == -1)
this.RegPoolName = val;
else
this.RegPoolName = val.substring(0, offset);
Reporter.info(PoolName + " " + RegPoolName); //NOI18N
|
public void | simpleSetJndiName(java.lang.String value)
this.JndiName = value;
setName(JndiName);
|