org.broadleafcommerce.common.extensibility.context.merge
Class MergeXmlConfigResource

java.lang.Object
  extended by org.broadleafcommerce.common.extensibility.context.merge.MergeXmlConfigResource
Direct Known Subclasses:
MergeApplicationContextXmlConfigResource, MergeJPAPersistenceResource

public class MergeXmlConfigResource
extends Object

Author:
jfischer

Constructor Summary
MergeXmlConfigResource()
           
 
Method Summary
protected  byte[] buildArrayFromStream(InputStream source)
           
 org.springframework.core.io.Resource getMergedConfigResource(ResourceInputStream[] sources)
           
protected  ResourceInputStream merge(ResourceInputStream[] sources)
           
protected  ResourceInputStream mergeItems(ResourceInputStream[] sourceLocations)
           
 String serialize(InputStream in)
           
 String serialize(org.springframework.core.io.Resource resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeXmlConfigResource

public MergeXmlConfigResource()
Method Detail

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
Throws:
MergeException
MergeManagerSetupException

mergeItems

protected ResourceInputStream mergeItems(ResourceInputStream[] sourceLocations)
                                  throws MergeException,
                                         MergeManagerSetupException
Throws:
MergeException
MergeManagerSetupException

serialize

public String serialize(org.springframework.core.io.Resource resource)

serialize

public String serialize(InputStream in)

buildArrayFromStream

protected byte[] buildArrayFromStream(InputStream source)
                               throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.