Coverage Report - org.mule.module.jboss.config.JbossTSNamespaceHandler
 
Classes in this File Line Coverage Branch Coverage Complexity
JbossTSNamespaceHandler
0%
0/4
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.module.jboss.config;
 8  
 
 9  
 import org.mule.config.spring.parsers.collection.ChildMapEntryDefinitionParser;
 10  
 import org.mule.config.spring.parsers.generic.MuleOrphanDefinitionParser;
 11  
 import org.mule.module.jboss.transaction.JBossArjunaTransactionManagerFactory;
 12  
 
 13  
 import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
 14  
 
 15  
 /**
 16  
  * Registers Bean Definition Parsers for the "jbossts" namespace.
 17  
  */
 18  0
 public class JbossTSNamespaceHandler extends NamespaceHandlerSupport
 19  
 {
 20  
     public void init()
 21  
     {
 22  0
         registerBeanDefinitionParser("transaction-manager", new MuleOrphanDefinitionParser(JBossArjunaTransactionManagerFactory.class, true));
 23  0
         registerBeanDefinitionParser("properties", new ChildMapEntryDefinitionParser("properties","key","value"));
 24  0
     }
 25  
 
 26  
 }