Coverage Report - org.mule.module.rss.config.RssNamespaceHandler
 
Classes in this File Line Coverage Branch Coverage Complexity
RssNamespaceHandler
0%
0/4
N/A
1
 
 1  
 /*
 2  
  * $Id: RssNamespaceHandler.java 19359 2010-09-03 20:03:08Z rossmason $
 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.module.rss.config;
 11  
 
 12  
 import org.mule.config.spring.parsers.specific.RouterDefinitionParser;
 13  
 import org.mule.config.spring.parsers.specific.endpoint.TransportEndpointDefinitionParser;
 14  
 import org.mule.module.rss.endpoint.RssInboundEndpointFactoryBean;
 15  
 import org.mule.module.rss.routing.FeedSplitter;
 16  
 
 17  
 import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
 18  
 
 19  
 
 20  0
 public class RssNamespaceHandler extends NamespaceHandlerSupport
 21  
 {
 22  
     public void init()
 23  
     {
 24  0
         registerBeanDefinitionParser("inbound-endpoint", new TransportEndpointDefinitionParser("rss", true, RssInboundEndpointFactoryBean.class, new String[]{"lastUpdate", "splitFeed", "acceptedMimeTypes", "pollingFrequency"}, new String[][]{}, new String[][]{}));
 25  0
         registerBeanDefinitionParser("feed-splitter", new RouterDefinitionParser(FeedSplitter.class));
 26  
         
 27  0
     }
 28  
 }