code: public static synchronized void setDescription(InputStream inputStream) {
          try {
              setDescription(AgentControllerDescriptionFactory.read(inputStream));
          } catch (IOException ioex) {
              throw new AgentControllerInitializationException("Could not load logspace configuration.", ioex);
          } finally {
              closeQuietly(inputStream);
          }
      }
docs: Set the {@link AgentControllerDescription} by reading it from the given {@link InputStream} and close the InputStream
  afterwards.<br>
  <br>
  This method expects the InputStream to provide a description in a format, that can be read by the
  {@link AgentControllerDescriptionFactory}.<br>
  This method will fail with an {@link AgentControllerInitializationException} if the AgentController has already been initialized
  or the AgentControllerDescription could not be loaded from the InputStream.
  
  @param inputStream The InputStream to read the AgentControllerDescription from.
  
  @see #isInitialized()