code: public void register(String correlationId, ConnectionParams connection) throws ApplicationException {
  		boolean result = registerInDiscovery(correlationId, connection);
  
  		if (result)
  			_connections.add(connection);
  	}
docs: Registers the given connection in all referenced discovery services. This
  method can be used for dynamic service discovery.
  
  @param correlationId (optional) transaction id to trace execution through
  call chain.
  @param connection    a connection to register.
  @throws ApplicationException when error occured.
  
  @see IDiscovery