code: public void setContextValves(Collection<? extends Valve> contextValves) {
  		Assert.notNull(contextValves, "Valves must not be null");
  		this.contextValves = new ArrayList<>(contextValves);
  	}
docs: Set {@link Valve}s that should be applied to the Tomcat {@link Context}. Calling
  this method will replace any existing valves.
  @param contextValves the valves to set