Class ApplicationRuntimeDDFile
- java.lang.Object
-
- com.sun.enterprise.deployment.io.DeploymentDescriptorFile
-
- com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile
-
- com.sun.enterprise.deployment.io.runtime.ApplicationRuntimeDDFile
-
@PerLookup @Service public class ApplicationRuntimeDDFile extends ConfigurationDeploymentDescriptorFile
This class is responsible for handling the XML configuration information for the SunOne AppServer Web Container- Author:
- Jerome Dochez
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.io.DeploymentDescriptorFile
FULL_VALIDATION, PARSING_VALIDATION
-
-
Constructor Summary
Constructors Constructor Description ApplicationRuntimeDDFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDeploymentDescriptorPath()
RootXMLNode
getRootXMLNode(Descriptor descriptor)
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.ConfigurationDeploymentDescriptorFile
isValidating
-
Methods inherited from class com.sun.enterprise.deployment.io.DeploymentDescriptorFile
getArchiveType, getDefaultSchemaSource, getDocument, getDocumentBuilder, getSAXParser, getSAXParser, getXMLValidation, getXMLValidationLevel, read, read, read, read, setArchiveType, setErrorReportingString, setXMLValidation, setXMLValidationLevel, write, write, write
-
-
-
-
Method Detail
-
getDeploymentDescriptorPath
public String getDeploymentDescriptorPath()
- Specified by:
getDeploymentDescriptorPath
in classDeploymentDescriptorFile
- Returns:
- the location of the DeploymentDescriptor file for a particular type of J2EE Archive
-
getRootXMLNode
public RootXMLNode getRootXMLNode(Descriptor descriptor)
- Specified by:
getRootXMLNode
in classDeploymentDescriptorFile
- Parameters:
the
- descriptor for which we need the node- Returns:
- a RootXMLNode responsible for handling the deployment descriptors associated with this J2EE module
-
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.- Overrides:
registerBundle
in classConfigurationDeploymentDescriptorFile
- 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
-
-