Class EjbBundleRuntimeNode

java.lang.Object
com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<EjbBundleDescriptorImpl>
org.glassfish.ejb.deployment.node.runtime.EjbBundleRuntimeNode
All Implemented Interfaces:
com.sun.enterprise.deployment.node.RootXMLNode<EjbBundleDescriptorImpl>, com.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>
Direct Known Subclasses:
GFEjbBundleRuntimeNode

public class EjbBundleRuntimeNode extends com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<EjbBundleDescriptorImpl>
This node handles runtime deployment descriptors for ejb bundle
Author:
Jerome Dochez
  • Field Summary

    Fields inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode

    descriptor, elementToNodeMappings

    Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode

    abstractDescriptor, handlers, I18N_NODE, serviceLocator
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDescriptor(Object newDescriptor)
     
     
     
     
     
    protected com.sun.enterprise.deployment.node.XMLElement
     
    static String
    registerBundle(Map<String,String> publicIDToDTD)
    register this node as a root node capable of loading entire DD files
    void
    setElementValue(com.sun.enterprise.deployment.node.XMLElement element, String value)
     
    writeDescriptor(Node parent, EjbBundleDescriptorImpl bundleDescriptor)
     

    Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode

    appendChildNS, getDispatchTable, getNodeMappings, getSpecVersion, init, recordNodeMapping, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfo

    Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode

    addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.sun.enterprise.deployment.node.XMLNode

    addPrefixMapping, endElement, getHandlerFor, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefix, startElement
  • Constructor Details

    • EjbBundleRuntimeNode

      public EjbBundleRuntimeNode(EjbBundleDescriptorImpl descriptor)
    • EjbBundleRuntimeNode

      public EjbBundleRuntimeNode()
  • Method Details

    • getDocType

      public String getDocType()
    • getSystemID

      public String getSystemID()
    • getSystemIDs

      public List<String> getSystemIDs()
      Returns:
      NULL for all runtime nodes.
    • getXMLRootTag

      protected com.sun.enterprise.deployment.node.XMLElement getXMLRootTag()
      Overrides:
      getXMLRootTag in class com.sun.enterprise.deployment.node.DeploymentDescriptorNode<EjbBundleDescriptorImpl>
    • registerBundle

      public static String registerBundle(Map<String,String> publicIDToDTD)
      register this node as a root node capable of loading entire DD files
      Parameters:
      publicIDToDTD - is a mapping between xml Public-ID to DTD
      Returns:
      the doctype tag name
    • getDescriptor

      public EjbBundleDescriptorImpl getDescriptor()
      Specified by:
      getDescriptor in interface com.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>
      Overrides:
      getDescriptor in class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<EjbBundleDescriptorImpl>
    • setElementValue

      public void setElementValue(com.sun.enterprise.deployment.node.XMLElement element, String value)
      Specified by:
      setElementValue in interface com.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>
      Overrides:
      setElementValue in class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<EjbBundleDescriptorImpl>
    • addDescriptor

      public void addDescriptor(Object newDescriptor)
      Specified by:
      addDescriptor in interface com.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>
      Overrides:
      addDescriptor in class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<EjbBundleDescriptorImpl>
    • writeDescriptor

      public Node writeDescriptor(Node parent, EjbBundleDescriptorImpl bundleDescriptor)
      Specified by:
      writeDescriptor in interface com.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>
      Overrides:
      writeDescriptor in class com.sun.enterprise.deployment.node.DeploymentDescriptorNode<EjbBundleDescriptorImpl>