View Javadoc

1   /*
2    * $Id: JettyNamespaceHandler.java 12341 2008-07-14 21:50:16Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.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  
14  /**
15   * Registers a Bean Definition Parser for handling <code><jetty:connector></code> elements.
16   */
17  public class JettyNamespaceHandler extends AbstractMuleNamespaceHandler
18  {
19  
20      public void init()
21      {
22          registerMetaTransportEndpoints(JettyHttpConnector.JETTY);
23          registerConnectorDefinitionParser(JettyHttpConnector.class);
24      }
25  
26  }