Methods Summary |
---|
public void | addInitializationParameter(com.sun.enterprise.deployment.web.InitializationParameter ref)
this.initParms.addElement(ref);
|
public void | addInitializationParameter(com.sun.enterprise.deployment.EnvironmentProperty ref)
addInitializationParameter((InitializationParameter) ref);
|
public boolean | equals(java.lang.Object obj)compare equals
//Should allow a filter with different name mapping
//to the same class.
if (obj instanceof ServletFilter) {
if (this.getClassName().equals(
((ServletFilter)obj).getClassName())
&& this.getName().equals(
((ServletFilter)obj).getName())) {
return true;
}
}
return false;
|
public java.lang.String | getClassName()get class name
if (this.className == null) {
this.className = "";
}
return this.className;
|
public java.lang.String | getDisplayName()get display name
String n = this.displayName;
if ((n == null) || n.equals("")) {
n = this.getName();
}
return n;
|
public java.util.Vector | getInitializationParameters()
return (Vector)this.initParms.clone();
|
public java.lang.String | getName()get filter name
if ((filterName == null) || filterName.equals("")) {
String c = this.getClassName();
int p = c.lastIndexOf('.");
filterName = (p < 0)? c : c.substring(p + 1);
}
return filterName;
|
public int | hashCode()
int result = 17;
result = 37*result + getClassName().hashCode();
result = 37*result + getName().hashCode();
return result;
|
public void | removeInitializationParameter(com.sun.enterprise.deployment.web.InitializationParameter ref)
this.initParms.removeElement(ref);
|
public void | setClassName(java.lang.String name)set class name
this.className = (name != null)? name : "";
|
public void | setDisplayName(java.lang.String name)set display name
this.displayName = (name != null)? name : "";
|
public void | setInitializationParameters(java.util.Collection c)
this.initParms.clear();
this.initParms.addAll(c);
|
public void | setName(java.lang.String filterName)set filter name
this.filterName = filterName;
|