com.sun.enterprise.deployment.node.runtime
Class RuntimeBundleNode<T extends RootDeploymentDescriptor>
java.lang.Object
com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<T>
- All Implemented Interfaces:
- RootXMLNode<T>, XMLNode<T>
- Direct Known Subclasses:
- AppClientRuntimeNode, ApplicationRuntimeNode, ConnectorNode, EjbBundleRuntimeNode, WebBundleRuntimeNode, WLApplicationRuntimeNode, WLWebBundleRuntimeNode
public abstract class RuntimeBundleNode<T extends RootDeploymentDescriptor>
- extends DeploymentDescriptorNode<T>
- implements RootXMLNode<T>
|
Method Summary |
void |
addDescriptor(java.lang.Object descriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode |
static org.w3c.dom.Element |
appendChildNS(org.w3c.dom.Node parent,
java.lang.String elementName,
java.lang.String nameSpace)
|
T |
getDescriptor()
|
java.lang.String |
getSpecVersion()
|
protected void |
Init()
Initializes the child handler; |
protected static boolean |
restrictDTDDeclarations()
|
void |
setDocType(java.lang.String docType)
set the DOCTYPE as read in the input XML File |
protected void |
setSpecVersion()
Sets the specVersion for this descriptor depending on the docType |
protected void |
writeMessageDestinationInfo(org.w3c.dom.Node parent,
BundleDescriptor descriptor)
writes the message destination references runtime information |
| Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getDispatchTable, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setElementValue, setParentNode, setXMLRootTag, startElement, writeAroundInvokeDescriptors, writeAroundTimeoutDescriptors, writeDataSourceDefinitionDescriptors, writeDescriptor, writeDescriptor, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writePostActivateDescriptors, writePostConstructDescriptors, writePreDestroyDescriptors, writePrePassivateDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptor
protected T extends RootDeploymentDescriptor descriptor
RuntimeBundleNode
public RuntimeBundleNode(T descriptor)
RuntimeBundleNode
public RuntimeBundleNode()
Init
protected void Init()
- Initializes the child handler;
addDescriptor
public void addDescriptor(java.lang.Object descriptor)
- Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode
- Specified by:
addDescriptor in interface XMLNode<T extends RootDeploymentDescriptor>- Overrides:
addDescriptor in class DeploymentDescriptorNode<T extends RootDeploymentDescriptor>
- Parameters:
descriptor - the new descriptor
getDescriptor
public T getDescriptor()
- Specified by:
getDescriptor in interface XMLNode<T extends RootDeploymentDescriptor>- Overrides:
getDescriptor in class DeploymentDescriptorNode<T extends RootDeploymentDescriptor>
- Returns:
- the descriptor instance to associate with this XMLNode
getSpecVersion
public java.lang.String getSpecVersion()
- Specified by:
getSpecVersion in interface RootXMLNode<T extends RootDeploymentDescriptor>
- Returns:
- the default spec version level this node complies to
setDocType
public void setDocType(java.lang.String docType)
- set the DOCTYPE as read in the input XML File
- Specified by:
setDocType in interface RootXMLNode<T extends RootDeploymentDescriptor>
- Parameters:
DOCTYPE -
setSpecVersion
protected void setSpecVersion()
- Sets the specVersion for this descriptor depending on the docType
writeMessageDestinationInfo
protected void writeMessageDestinationInfo(org.w3c.dom.Node parent,
BundleDescriptor descriptor)
- writes the message destination references runtime information
restrictDTDDeclarations
protected static final boolean restrictDTDDeclarations()
- Returns:
- true if the runtime bundle node should only process
the product FCS DTD declarations
appendChildNS
public static org.w3c.dom.Element appendChildNS(org.w3c.dom.Node parent,
java.lang.String elementName,
java.lang.String nameSpace)
Copyright © 2012 GlassFish Community. All Rights Reserved.