Class MergeXmlConfigResource
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.MergeXmlConfigResource
- Direct Known Subclasses:
MergeJPAPersistenceResource
- Author:
- jfischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]buildArrayFromStream(InputStream source) org.springframework.core.io.ResourcegetMergedConfigResource(ResourceInputStream[] sources) protected ResourceInputStreammerge(ResourceInputStream[] sources) protected ResourceInputStreammergeItems(ResourceInputStream sourceLocationFirst, ResourceInputStream sourceLocationSecond) serialize(InputStream in) serialize(org.springframework.core.io.Resource resource)
-
Constructor Details
-
MergeXmlConfigResource
public MergeXmlConfigResource()
-
-
Method Details
-
getMergedConfigResource
public org.springframework.core.io.Resource getMergedConfigResource(ResourceInputStream[] sources) throws org.springframework.beans.BeansException - Throws:
org.springframework.beans.BeansException
-
merge
protected ResourceInputStream merge(ResourceInputStream[] sources) throws MergeException, MergeManagerSetupException -
mergeItems
protected ResourceInputStream mergeItems(ResourceInputStream sourceLocationFirst, ResourceInputStream sourceLocationSecond) throws MergeException, MergeManagerSetupException -
serialize
-
serialize
-
buildArrayFromStream
- Throws:
IOException
-