Update of Administration Listener Configuration

Updates the properties of the administration listener configuration.

Syntax

void updateAdministrationListenerConfiguration(String serverComponentID, ServerComponentVO serverComponent) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Update
    supServerConf.refresh();
    ServerComponentVO scvo = supServerConf.getAdministrationListenerConfiguration();
    ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType());
    Map<String, String> properties = scvo.getProperties();
    properties.put("sup.socket.listener.port", "2000");
    properties.put("sup.socket.listener.enabled", "true");
    scvo_new.setProperties(properties);
    supServerConf.updateAdministrationListenerConfiguration(scvo_new.getID(), scvo_new);
    supServerConf.commit();