public class ApplicationRuntimeNode extends RuntimeBundleNode<Application>
descriptor, elementToNodeMappings
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
Constructor and Description |
---|
ApplicationRuntimeNode(Application descriptor) |
Modifier and Type | Method and Description |
---|---|
void |
addDescriptor(Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode
|
protected Map |
getDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to
method name on the descriptor class for setting the element value.
|
String |
getDocType() |
String |
getSystemID() |
List<String> |
getSystemIDs() |
protected XMLElement |
getXMLRootTag() |
protected void |
init()
Initialize the child handlers
|
static String |
registerBundle(Map publicIDToDTD,
Map<String,List<Class<?>>> versionUpgrades)
register this node as a root node capable of loading entire DD files
|
void |
setElementValue(XMLElement element,
String value)
receives notification of the value for a particular tag
|
Node |
writeDescriptor(Node parent,
String nodeName,
Application application)
write the descriptor class to a DOM tree and return it
|
appendChildNS, getDescriptor, getNodeMappings, getSpecVersion, recordNodeMapping, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfo
addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPrefixMapping, endElement, getHandlerFor, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefix, startElement, writeDescriptor
public ApplicationRuntimeNode(Application descriptor)
protected void init()
init
in class RuntimeBundleNode<Application>
public static String registerBundle(Map publicIDToDTD, Map<String,List<Class<?>>> versionUpgrades)
publicIDToDTD
- is a mapping between xml Public-ID to DTDprotected XMLElement getXMLRootTag()
getXMLRootTag
in class DeploymentDescriptorNode<Application>
public String getDocType()
public String getSystemID()
protected Map getDispatchTable()
getDispatchTable
in class RuntimeBundleNode<Application>
public void setElementValue(XMLElement element, String value)
setElementValue
in interface XMLNode<Application>
setElementValue
in class RuntimeBundleNode<Application>
element
- the xml elementvalue
- it's associated valuepublic void addDescriptor(Object newDescriptor)
addDescriptor
in interface XMLNode<Application>
addDescriptor
in class RuntimeBundleNode<Application>
newDescriptor
- the new descriptorpublic Node writeDescriptor(Node parent, String nodeName, Application application)
writeDescriptor
in class DeploymentDescriptorNode<Application>
parent
- node for the DOM treenodeName
- the node nameapplication
- the descriptor to writeCopyright © 2021. All rights reserved.