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