1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.config.spring.parsers; |
12 | |
|
13 | |
import org.springframework.beans.factory.config.BeanDefinition; |
14 | |
import org.springframework.beans.factory.support.BeanDefinitionBuilder; |
15 | |
import org.springframework.beans.factory.xml.BeanDefinitionParser; |
16 | |
import org.springframework.beans.factory.xml.ParserContext; |
17 | |
import org.w3c.dom.Element; |
18 | |
|
19 | 0 | public class IndependentDefinitionParser implements BeanDefinitionParser |
20 | |
{ |
21 | |
|
22 | |
public BeanDefinition parse(Element element, ParserContext parserContext) |
23 | |
{ |
24 | 0 | BeanDefinitionBuilder builder = BeanDefinitionBuilder.rootBeanDefinition(Object.class); |
25 | 0 | return builder.getBeanDefinition(); |
26 | |
} |
27 | |
|
28 | |
} |