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