1 /** 2 * Waffle (https://github.com/dblock/waffle) 3 * 4 * Copyright (c) 2010 - 2015 Application Security, Inc. 5 * 6 * All rights reserved. This program and the accompanying materials 7 * are made available under the terms of the Eclipse Public License v1.0 8 * which accompanies this distribution, and is available at 9 * http://www.eclipse.org/legal/epl-v10.html 10 * 11 * Contributors: 12 * Application Security, Inc. 13 */ 14 package waffle.apache.catalina; 15 16 import org.apache.catalina.Pipeline; 17 import org.apache.catalina.Valve; 18 19 /** 20 * Simple Pipeline. 21 * 22 * @author dblock[at]dblock[dot]org 23 */ 24 public abstract class SimplePipeline implements Pipeline { 25 26 private Valve[] valves; 27 28 @Override 29 public Valve[] getValves() { 30 return this.valves.clone(); 31 } 32 33 public void setValves(final Valve[] value) { 34 this.valves = value; 35 } 36 37 }