git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@511854
13f79535-47bb-0310-9956-
ffa450edef68
public void setProperty(String name, String value) {
if ( name!=null && (name.startsWith("socket.") ||name.startsWith("selectorPool.")) ){
ep.setProperty(name, value);
+ } else {
+ ep.setProperty(name,value); //make sure we at least try to set all properties
}
setAttribute(name, value);
}
IntrospectionUtils.setProperty(selectorPool, name.substring(selectorPoolName.length()), value);
} else if (name.startsWith(socketName)) {
IntrospectionUtils.setProperty(socketProperties, name.substring(socketName.length()), value);
+ } else {
+ IntrospectionUtils.setProperty(this,name,value);
}
}catch ( Exception x ) {
log.error("Unable to set attribute \""+name+"\" to \""+value+"\"",x);