org.broadleafcommerce.common.extensibility.context
Class MergeApplicationContextXmlConfigResource
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.MergeXmlConfigResource
org.broadleafcommerce.common.extensibility.context.MergeApplicationContextXmlConfigResource
public class MergeApplicationContextXmlConfigResource
- extends MergeXmlConfigResource
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeApplicationContextXmlConfigResource
public MergeApplicationContextXmlConfigResource()
getConfigResources
public org.springframework.core.io.Resource[] getConfigResources(ResourceInputStream[] sources,
ResourceInputStream[] patches)
throws org.springframework.beans.BeansException
- Generate a merged configuration resource, loading the definitions from the given streams. Note,
all sourceLocation streams will be merged using standard Spring configuration override rules. However, the patch
streams are fully merged into the result of the sourceLocations simple merge. Patch merges are first executed according
to beans with the same id. Subsequent merges within a bean are executed against tagnames - ignoring any
further id attributes.
- Parameters:
sources - array of input streams for the source application context filespatches - array of input streams for the patch application context files
- Throws:
org.springframework.beans.BeansException
Copyright © 2013. All Rights Reserved.