if (hostNamePattern != null && ! key.equals("default")) {
HashMap<String,Object> varMap = new HashMap<String,Object>();
varMap.put("host", new HostRegexpVar(key));
ELResolver resolver = new MapVariableResolver(varMap);
ELContext env = new ConfigELContext(resolver);
hostName = EL.evalString(hostNamePattern, env);
}