Coverage Report - org.mule.config.spring.parsers.specific.BindingDefinitionParser
 
Classes in this File Line Coverage Branch Coverage Complexity
BindingDefinitionParser
0%
0/8
N/A
1
 
 1  
 /*
 2  
  * $Id: BindingDefinitionParser.java 11531 2008-04-08 15:34:34Z rossmason $
 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.config.spring.parsers.specific;
 11  
 
 12  
 import org.mule.config.spring.parsers.generic.ChildDefinitionParser;
 13  
 import org.mule.routing.inbound.AbstractEventAggregator;
 14  
 
 15  
 /**
 16  
  * Binding definition parser for parsing all binding elements configured as part of the service.
 17  
  */
 18  
 public class BindingDefinitionParser extends ChildDefinitionParser
 19  
 {
 20  
 
 21  
     public BindingDefinitionParser(String setterMethod, Class clazz)
 22  
     {
 23  0
         super(setterMethod, clazz);
 24  0
         standardOptions();
 25  0
     }
 26  
 
 27  
     // specifically for subclasses of CorrelationAggregator (requires a "class=..." in the config)
 28  
     public BindingDefinitionParser(String setterMethod)
 29  
     {
 30  0
         super(setterMethod, null, AbstractEventAggregator.class, true);
 31  0
         standardOptions();
 32  0
     }
 33  
 
 34  
     protected void standardOptions()
 35  
     {
 36  0
         addMapping("enableCorrelation", "IF_NOT_SET=0,ALWAYS=1,NEVER=2");
 37  0
     }
 38  
 
 39  
 }