}
} else if (choice.equals(StaticTest.UPDATE)) {
if (cce.getName().equals("enabled") && ConfigBean.toBoolean((String) cce.getObject())){
final HttpListener h = (HttpListener) cce.getClassObject();
final Config c = (Config) ((HttpService) h.parent()).parent();
final VirtualServer vs = getDefaultVirtualServer(h.getDefaultVirtualServer(), c);
if (null != vs && !vs.getState().equals("on")){
result.failed(smh.getLocalString(getClass().getName() + ".cannotUpdateVSNotOn",
"Cannot enable this HttpListener \"{0}\" because its virtual server \"{1}\" has a state other than \"on\" ({2})",
new Object[]{h.getId(), vs.getId(), vs.getState()}));