Class ImportProcessor
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.ImportProcessor
This class serves to parse any passed in source application context files and
look for the Spring "import" element. If found, the resource of the import element
is retrieved and set as another source element after the current one. Also, once the
resource is retrieved and included, the import element is deleted from the source
document.
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DocumentBuilderprotected org.springframework.core.io.ResourceLoaderprotected XPath -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
loader
protected org.springframework.core.io.ResourceLoader loader -
builder
-
xPath
-
-
Constructor Details
-
ImportProcessor
public ImportProcessor(org.springframework.core.io.ResourceLoader loader)
-
-
Method Details
-
extract
- Throws:
MergeException
-