Methods Summary |
---|
public boolean | FactoryName(java.lang.String value, java.util.List resources)
boolean exists = false;
for(int i=0; i<resources.size(); i++){
IMailResource instance = (IMailResource) 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 | getDebug()
return Debug;
|
public java.lang.String | getDescription()
return Description;
|
public java.lang.String | getEnabled()
return Enabled;
|
public NameValuePair[] | getExtParams()
return extParams;
|
public java.lang.String | getFrom()
return From;
|
public java.lang.String | getHost()
return Host;
|
public java.lang.String | getJndiName()
return JndiName;
|
public java.lang.String | getName()
return name;
|
public java.lang.String | getStoreProtocol()
return StoreProtocol;
|
public java.lang.String | getStoreProtocolClass()
return StoreProtocolClass;
|
public java.lang.String | getTransportProtocol()
return TransportProtocol;
|
public java.lang.String | getTransportProtocolClass()
return TransportProtocolClass;
|
public java.lang.String | getUser()
return User;
|
private void | initPropertyChangeSupport()
if(propertySupport==null)
propertySupport = new PropertyChangeSupport ( this );
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.removePropertyChangeListener (listener);
|
public void | setDebug(java.lang.String value)
String oldValue = Debug;
this.Debug = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Debug", oldValue, Debug);//NOI18N
|
public void | setDescription(java.lang.String value)
String oldValue = Description;
this.Description = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Description", oldValue, Description);//NOI18N
|
public void | setEnabled(java.lang.String value)
String oldValue = Enabled;
this.Enabled = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Enabled", oldValue, 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 | setFrom(java.lang.String value)
String oldValue = From;
this.From = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("From", oldValue, From);//NOI18N
|
public void | setHost(java.lang.String value)
String oldValue = Host;
this.Host = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Host", oldValue, Host);//NOI18N
|
public void | setJndiName(java.lang.String value)
String oldValue = JndiName;
this.JndiName = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("JndiName", oldValue, JndiName);//NOI18N
setName(JndiName);
|
public void | setName(java.lang.String value)
String oldValue = name;
this.name = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("name", oldValue, name);//NOI18N
|
public void | setStoreProtocol(java.lang.String value)
String oldValue = StoreProtocol;
this.StoreProtocol = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("StoreProtocol", oldValue, StoreProtocol);//NOI18N
|
public void | setStoreProtocolClass(java.lang.String value)
String oldValue = StoreProtocolClass;
this.StoreProtocolClass = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("StoreProtocolClass", oldValue, StoreProtocolClass);//NOI18N
|
public void | setTransportProtocol(java.lang.String value)
String oldValue = TransportProtocol;
this.TransportProtocol = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("TransportProtocol", oldValue, TransportProtocol);//NOI18N
|
public void | setTransportProtocolClass(java.lang.String value)
String oldValue = TransportProtocolClass;
this.TransportProtocolClass = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("TransportProtocolClass", oldValue, TransportProtocolClass);//NOI18N
|
public void | setUser(java.lang.String value)
String oldValue = User;
this.User = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("User", oldValue, User);//NOI18N
|
public void | simpleSetJndiName(java.lang.String value)
this.JndiName = value;
setName(JndiName);
|
public java.lang.String | toString()
return "name: " + getName() + ", Description: " + getDescription() + ", JndiName: " + // NOI18N
getJndiName() + ", Store Protocol: " + getStoreProtocol() + // NOI18N
", Store Protocol Class: " + getStoreProtocolClass() + // NOI18N
", Transport Protocol: " + getTransportProtocol() + // NOI18N
", Transport Protocol Class: " + getTransportProtocolClass() + ", Host: " + // NOI18N
getHost() + ", User: " + getUser() + ", From: " + getFrom() + // NOI18N
", Debug: " + getDebug() + ", Enabled: " + getEnabled(); // NOI18N
|