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.
- Version:
- $Revision: 1.3 $
- Author:
- Ross Mason
- 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(org.w3c.dom.Document document,
Resource resource)
throws BeansException
- Throws:
BeansException
createTransformer
public static javax.xml.transform.Transformer createTransformer(javax.xml.transform.Source source)
throws javax.xml.transform.TransformerConfigurationException
- Throws:
javax.xml.transform.TransformerConfigurationException
transformDocument
protected org.w3c.dom.Document transformDocument(org.w3c.dom.Document document)
throws java.io.IOException,
javax.xml.transform.TransformerException
- Throws:
java.io.IOException
javax.xml.transform.TransformerException
createXslSource
protected javax.xml.transform.Source createXslSource()
throws java.io.IOException
- Throws:
java.io.IOException
getXslResource
protected ClassPathResource getXslResource()
createEntityResolver
protected org.xml.sax.EntityResolver createEntityResolver()
isFirstContext
public static boolean isFirstContext()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.