org.mule.extras.spring.config
Class MuleBeanDefinitionDocumentReader

java.lang.Object
  extended byorg.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
      extended byorg.mule.extras.spring.config.MuleBeanDefinitionDocumentReader
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionDocumentReader

public class MuleBeanDefinitionDocumentReader
extends org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader

By default, an statement will assume the imported resource's location is relative to the current file. Override to try loading the resource from the classpath as well.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
ALIAS_ATTRIBUTE, ALIAS_ELEMENT, BEAN_ELEMENT, IMPORT_ELEMENT, logger, NAME_ATTRIBUTE, RESOURCE_ATTRIBUTE
 
Constructor Summary
MuleBeanDefinitionDocumentReader()
           
 
Method Summary
protected  void importBeanDefinitionResource(Element ele)
          By default, an statement will assume the imported resource's location is relative to the current file.
 
Methods inherited from class org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
createHelper, extractSource, getReaderContext, parseBeanDefinitions, postProcessXml, preProcessXml, processAliasRegistration, processBeanDefinition, registerBeanDefinitions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleBeanDefinitionDocumentReader

public MuleBeanDefinitionDocumentReader()
Method Detail

importBeanDefinitionResource

protected void importBeanDefinitionResource(Element ele)
By default, an statement will assume the imported resource's location is relative to the current file. Override this method to try loading the resource from the classpath as well.

Note: only the section labelled "Customized for Mule" below has been changed, the rest is copy-pasted from the parent (Spring) class.



Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.