org.mule.extras.spring.config
Class MuleBeanDefinitionReader
java.lang.Object
XmlBeanDefinitionReader
org.mule.extras.spring.config.MuleBeanDefinitionReader
- public class MuleBeanDefinitionReader
- extends XmlBeanDefinitionReader
MuleBeanDefinitionReader Is a custom Spring Bean reader that will
apply a transformation to Mule Xml configuration files before loading bean
definitions allowing Mule Xml config to be parsed as Spring configuration.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuleBeanDefinitionReader
public MuleBeanDefinitionReader(BeanDefinitionRegistry beanDefinitionRegistry,
int configCount)
registerBeanDefinitions
public int registerBeanDefinitions(Document document,
Resource resource)
throws BeansException
- Throws:
BeansException
createTransformer
public static Transformer createTransformer(Source source)
throws TransformerConfigurationException
- Throws:
TransformerConfigurationException
transformDocument
protected Document transformDocument(Document document)
throws IOException,
TransformerException
- Throws:
IOException
TransformerException
createXslSource
protected Source createXslSource()
throws IOException
- Throws:
IOException
getXslResource
protected ClassPathResource getXslResource()
createEntityResolver
protected EntityResolver createEntityResolver()
isFirstContext
public boolean isFirstContext()
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.