code: protected <R extends Closeable> R registerReporter(final R reporter) {
  		if (this.reporters == null) {
  			this.reporters = new HashSet<Closeable>();
  		}
  		this.reporters.add(reporter);
  		return reporter;
  	}
docs: Registers a reporter for destruction on Spring context close
  @param reporter a reporter which implements Closeable
  @return the reporter