Updates the configuration of an HTTP listener.
void updateHTTPListenerConfiguration(String serverComponentID, ServerComponentVO serverComponent) throws SUPAdminException;
If successful, returns silently. If unsuccessful, returns SUPAdminException.
supServerConf.refresh(); ServerComponentVO scvo = supServerConf.getHTTPListenerConfigurations() .iterator().next(); ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType()); Map<String, String> properties = scvo.getProperties(); properties.put("sup.socket.listener.port", "8000"); properties.put("sup.socket.listener.enabled", "true"); scvo_new.setProperties(properties); supServerConf.updateHTTPListenerConfiguration(scvo_new.getID(), scvo_new); supServerConf.commit();