Coverage Report - org.mule.transport.servlet.jetty.JettyNamespaceHandler
 
Classes in this File Line Coverage Branch Coverage Complexity
JettyNamespaceHandler
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * $Id: JettyNamespaceHandler.java 20411 2010-11-30 21:33:29Z dandiep $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 package org.mule.transport.servlet.jetty;
 11  
 
 12  
 import org.mule.config.spring.handlers.AbstractMuleNamespaceHandler;
 13  
 import org.mule.config.spring.parsers.generic.ChildDefinitionParser;
 14  
 
 15  
 /**
 16  
  * Registers a Bean Definition Parser for handling <code><jetty:connector></code> elements.
 17  
  */
 18  0
 public class JettyNamespaceHandler extends AbstractMuleNamespaceHandler
 19  
 {
 20  
 
 21  
     public void init()
 22  
     {
 23  0
         registerMetaTransportEndpoints(JettyHttpConnector.JETTY);
 24  0
         registerConnectorDefinitionParser(JettyHttpConnector.class);
 25  0
         registerBeanDefinitionParser("webapps", new ChildDefinitionParser("webappsConfiguration", WebappsConfiguration.class, true));
 26  0
     }
 27  
 
 28  
 }