code: @Override
    public Source create() throws InitializationFailedException {
      Source source = null;
      try {
        source = sourceClass.newInstance();
      } catch (InstantiationException e) {
        LOG.fatal("Creating source failed, " + SOURCE_CLASS_CONFIG_KEY + ": " + sourceClass, e);
        System.exit(0);
      } catch (IllegalAccessException e) {
        LOG.fatal("Creating source failed, " + SOURCE_CLASS_CONFIG_KEY + ": " + sourceClass, e);
        System.exit(0);
      }
      LOG.info("Initializing source...");
      source.init(config);
      LOG.info("Initializing source... DONE.");
      return source;
    }
docs: (non-Javadoc)
  
  @see com.sematext.ag.source.SourceFactory#create()