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.config.spring.parsers.specific; 8 9 import org.mule.config.PoolingProfile; 10 11 /** 12 * This parser is responsible for processing the <code><pooling-profile><code> configuration elements. 13 */ 14 public class PoolingProfileDefinitionParser extends ConfigurationChildDefinitionParser 15 { 16 17 public PoolingProfileDefinitionParser() 18 { 19 super("poolingProfile", PoolingProfile.class); 20 addMapping("initialisationPolicy", PoolingProfile.POOL_INITIALISATION_POLICIES); 21 addMapping("exhaustedAction", PoolingProfile.POOL_EXHAUSTED_ACTIONS); 22 } 23 24 }