1 // ======================================================================== 2 // Copyright (c) 2006-2009 Mort Bay Consulting Pty. Ltd. 3 // ------------------------------------------------------------------------ 4 // All rights reserved. This program and the accompanying materials 5 // are made available under the terms of the Eclipse Public License v1.0 6 // and Apache License v2.0 which accompanies this distribution. 7 // The Eclipse Public License is available at 8 // http://www.eclipse.org/legal/epl-v10.html 9 // The Apache License v2.0 is available at 10 // http://www.opensource.org/licenses/apache2.0.php 11 // You may elect to redistribute this code under either of these licenses. 12 // ======================================================================== 13 14 package org.eclipse.jetty.plus.servlet; 15 16 import org.eclipse.jetty.plus.annotation.InjectionCollection; 17 import org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection; 18 19 /** 20 * ServletHandler 21 * 22 * 23 */ 24 public class ServletHandler extends org.eclipse.jetty.servlet.ServletHandler 25 { 26 27 private InjectionCollection _injections = null; 28 private LifeCycleCallbackCollection _callbacks = null; 29 30 31 32 /** 33 * @return the callbacks 34 */ 35 public LifeCycleCallbackCollection getCallbacks() 36 { 37 return _callbacks; 38 } 39 40 41 42 /** 43 * @param callbacks the callbacks to set 44 */ 45 public void setCallbacks(LifeCycleCallbackCollection callbacks) 46 { 47 this._callbacks = callbacks; 48 } 49 50 51 52 /** 53 * @return the injections 54 */ 55 public InjectionCollection getInjections() 56 { 57 return _injections; 58 } 59 60 61 62 /** 63 * @param injections the injections to set 64 */ 65 public void setInjections(InjectionCollection injections) 66 { 67 this._injections = injections; 68 } 69 70 71 }