001    /**
002     *  Licensed to the Apache Software Foundation (ASF) under one or more
003     *  contributor license agreements.  See the NOTICE file distributed with
004     *  this work for additional information regarding copyright ownership.
005     *  The ASF licenses this file to You under the Apache License, Version 2.0
006     *  (the "License"); you may not use this file except in compliance with
007     *  the License.  You may obtain a copy of the License at
008     *
009     *     http://www.apache.org/licenses/LICENSE-2.0
010     *
011     *  Unless required by applicable law or agreed to in writing, software
012     *  distributed under the License is distributed on an "AS IS" BASIS,
013     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     *  See the License for the specific language governing permissions and
015     *  limitations under the License.
016     */
017    
018    package org.apache.geronimo.jetty6;
019    
020    import java.util.Map;
021    import java.util.Set;
022    
023    import javax.security.auth.Subject;
024    
025    import org.apache.geronimo.gbean.GBeanInfo;
026    import org.apache.geronimo.gbean.GBeanInfoBuilder;
027    import org.apache.geronimo.j2ee.j2eeobjectnames.NameFactory;
028    import org.apache.geronimo.security.deploy.SubjectInfo;
029    import org.mortbay.jetty.servlet.ServletHolder;
030    
031    /**
032     * @version $Rev: 556217 $ $Date: 2007-07-13 23:39:06 -0400 (Fri, 13 Jul 2007) $
033     */
034    public class JettyDefaultServletHolder extends JettyServletHolder {
035    
036        public JettyDefaultServletHolder() {
037        }
038    
039        public JettyDefaultServletHolder(String objectName, String servletName, String servletClassName, String jspFile, Map initParams, Integer loadOnStartup, Set<String> servletMappings, String runAsRole, JettyServletRegistration context) throws Exception {
040            super(objectName, servletName, servletClassName, jspFile, initParams, loadOnStartup, servletMappings, runAsRole, context);
041        }
042    
043        public static final GBeanInfo GBEAN_INFO;
044    
045        static {
046            GBeanInfoBuilder infoBuilder = GBeanInfoBuilder.createStatic(JettyDefaultServletHolder.class, JettyServletHolder.GBEAN_INFO, NameFactory.SERVLET_TEMPLATE);
047    
048            GBEAN_INFO = infoBuilder.getBeanInfo();
049        }
050    
051        public static GBeanInfo getGBeanInfo() {
052            return GBEAN_INFO;
053        }
054    
055    
056    }