public class DeployDescriptorFactory extends Object
Constructor and Description |
---|
DeployDescriptorFactory(String fileName,
Map<String,String> descMap)
Constructor for DeployDescriptorFactory to serialize a deploymentDescriptor based on the
settings contained in the descriptorMap provided.
|
Modifier and Type | Method and Description |
---|---|
void |
serialize()
Create a deployment descriptor file from the map data.
|
public DeployDescriptorFactory(String fileName, Map<String,String> descMap) throws Exception
fileName
- the filename to output to.descMap
- map containing key/values for the parameters to this descriptor.
Exception
- if file cannot be created or name is invalid or if required data
is not provided.public void serialize() throws SAXException
SAXException
- if there is an error creating the XML document.Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.