code: @Override
    public IAgentConfiguration parse(String agentConfiguration) throws InternalException {
      if (agentConfiguration == null) {
        return null;
      }
      AgentConfigurationImpl conf = new AgentConfigurationImpl();
      try {
  
        conf.properties = new Properties();
        String[] split = agentConfiguration.split(";");
        for (String s : split) {
          String[] data = s.split("=");
          conf.properties.put(data[0], data[1]);
        }
      }
      catch (Exception e) {
        throw new InternalException(e);
      }
      return conf;
    }
docs: /*
  (non-Javadoc)
  
  @see org.jdiameter.server.api.agent.IAgentConfiguration#parse(java.lang.String )