Package com.sun.enterprise.deployment.io
Class ConfigurationDeploymentDescriptorFile
- java.lang.Object
-
- com.sun.enterprise.deployment.io.DeploymentDescriptorFile
-
- com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile
-
- Direct Known Subclasses:
AppClientRuntimeDDFile
,ApplicationRuntimeDDFile
,ConnectorRuntimeDDFile
,EjbRuntimeDDFile
,GFAppClientRuntimeDDFile
,GFApplicationRuntimeDDFile
,GFEjbRuntimeDDFile
,GFWebRuntimeDDFile
,PayaraWebRuntimeDDFile
,WebRuntimeDDFile
,WLSApplicationRuntimeDDFile
,WLSWebServicesDeploymentDescriptorFile
@Contract public abstract class ConfigurationDeploymentDescriptorFile extends DeploymentDescriptorFile
This class is responsible for handling the XML configuration information for the Java EE Reference Implementation runtime descriptors.- Author:
- Jerome Dochez
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.io.DeploymentDescriptorFile
FULL_VALIDATION, PARSING_VALIDATION
-
-
Constructor Summary
Constructors Constructor Description ConfigurationDeploymentDescriptorFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidating()
Return whether this configuration file can be validated.void
registerBundle(Map<String,Class<?>> rootNodesMap, Map<String,String> publicIDToDTDMap, Map<String,List<Class<?>>> versionUpgrades)
Register the root node for this runtime deployment descriptor file in the root nodes map, and also in the dtd map which will be used for dtd validation.-
Methods inherited from class com.sun.enterprise.deployment.io.DeploymentDescriptorFile
getArchiveType, getDefaultSchemaSource, getDeploymentDescriptorPath, getDocument, getDocumentBuilder, getRootXMLNode, getSAXParser, getSAXParser, getXMLValidation, getXMLValidationLevel, read, read, read, read, setArchiveType, setErrorReportingString, setXMLValidation, setXMLValidationLevel, write, write, write
-
-
-
-
Method Detail
-
registerBundle
public void registerBundle(Map<String,Class<?>> rootNodesMap, Map<String,String> publicIDToDTDMap, Map<String,List<Class<?>>> versionUpgrades)
Register the root node for this runtime deployment descriptor file in the root nodes map, and also in the dtd map which will be used for dtd validation.- Parameters:
rootNodesMap
- the map for storing all the root nodespublicIDToDTDMap
- the map for storing public id to dtd mappingversionUpgrades
- The list of upgrades from older versions
-
isValidating
public boolean isValidating()
Return whether this configuration file can be validated.- Returns:
- whether this configuration file can be validated.
-
-