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.MuleChildDefinitionParser; |
14 | |
import org.mule.config.spring.parsers.MuleDefinitionParser; |
15 | |
import org.mule.config.spring.parsers.MuleDefinitionParserConfiguration; |
16 | |
import org.mule.config.spring.parsers.assembly.configuration.PropertyConfiguration; |
17 | |
|
18 | |
import org.springframework.beans.factory.config.BeanDefinition; |
19 | |
|
20 | |
|
21 | 0 | public class AbstractSingleParentFamilyChildDefinitionParser |
22 | |
extends AbstractSingleParentFamilyDefinitionParser implements MuleChildDefinitionParser |
23 | |
{ |
24 | |
|
25 | |
protected MuleDefinitionParserConfiguration addDelegate(MuleDefinitionParser delegate) |
26 | |
{ |
27 | 0 | return addDelegateAsChild(delegate); |
28 | |
} |
29 | |
|
30 | |
public void forceParent(BeanDefinition parent) |
31 | |
{ |
32 | 0 | ((MuleChildDefinitionParser) getDelegate(0)).forceParent(parent); |
33 | 0 | } |
34 | |
|
35 | |
public PropertyConfiguration getTargetPropertyConfiguration() |
36 | |
{ |
37 | 0 | return ((MuleChildDefinitionParser) getDelegate(0)).getTargetPropertyConfiguration(); |
38 | |
} |
39 | |
|
40 | |
} |