Coverage Report - org.mule.module.sxc.SxcNamespaceHandler
 
Classes in this File Line Coverage Branch Coverage Complexity
SxcNamespaceHandler
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * $Id: SxcNamespaceHandler.java 12264 2008-07-09 22:24:04Z dandiep $
 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.module.sxc;
 11  
 
 12  
 import org.mule.config.spring.handlers.AbstractMuleNamespaceHandler;
 13  
 import org.mule.config.spring.parsers.collection.ChildMapEntryDefinitionParser;
 14  
 import org.mule.config.spring.parsers.generic.ChildDefinitionParser;
 15  
 import org.mule.config.spring.parsers.specific.RouterDefinitionParser;
 16  
 
 17  0
 public class SxcNamespaceHandler extends AbstractMuleNamespaceHandler
 18  
 {
 19  
     public void init()
 20  
     {        
 21  0
             registerBeanDefinitionParser("filtering-router", 
 22  
                             new RouterDefinitionParser(SxcFilteringOutboundRouter.class)        );
 23  0
              registerBeanDefinitionParser("namespace", 
 24  
                  new ChildMapEntryDefinitionParser("namespaces", "prefix", "uri"));
 25  
              
 26  0
         registerBeanDefinitionParser("filter", 
 27  
                         new ChildDefinitionParser("filter", SxcFilter.class));
 28  0
     }
 29  
 }