1
2
3
4
5
6
7 package org.mule.config.spring.parsers.delegate;
8
9 import org.mule.config.spring.parsers.MuleDefinitionParser;
10
11 import org.springframework.beans.factory.support.AbstractBeanDefinition;
12 import org.springframework.beans.factory.xml.ParserContext;
13 import org.w3c.dom.Element;
14
15
16
17
18
19
20
21
22
23
24
25 public abstract class AbstractParallelDelegatingDefinitionParser extends AbstractDelegatingDefinitionParser
26 {
27
28 protected AbstractParallelDelegatingDefinitionParser()
29 {
30 super();
31 }
32
33 protected AbstractParallelDelegatingDefinitionParser(MuleDefinitionParser[] delegates)
34 {
35 super(delegates);
36 }
37
38 public AbstractBeanDefinition muleParse(Element element, ParserContext parserContext)
39 {
40 return getDelegate(element, parserContext).muleParse(element, parserContext);
41 }
42
43 protected abstract MuleDefinitionParser getDelegate(Element element, ParserContext parserContext);
44
45 }