Class EjbBundleNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
-
- com.sun.enterprise.deployment.node.DisplayableComponentNode<T>
-
- com.sun.enterprise.deployment.node.AbstractBundleNode<EjbBundleDescriptorImpl>
-
- org.glassfish.ejb.deployment.node.EjbBundleNode
-
- All Implemented Interfaces:
com.sun.enterprise.deployment.node.BundleNode,com.sun.enterprise.deployment.node.RootXMLNode<EjbBundleDescriptorImpl>,com.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>
@Service public class EjbBundleNode extends com.sun.enterprise.deployment.node.AbstractBundleNode<EjbBundleDescriptorImpl>
This class handles ejb bundle xml files- Version:
- Author:
- Jerome Dochez
-
-
Field Summary
Fields Modifier and Type Field Description static StringPUBLIC_DTD_IDstatic StringPUBLIC_DTD_ID_12static StringSCHEMA_IDstatic StringSCHEMA_ID_21static StringSCHEMA_ID_30static StringSCHEMA_ID_31static StringSCHEMA_ID_32static StringSPEC_VERSIONstatic StringSYSTEM_IDThe system ID of an ejb-jar document.static StringSYSTEM_ID_12static com.sun.enterprise.deployment.node.XMLElementtag
-
Constructor Summary
Constructors Constructor Description EjbBundleNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDescriptor(Object newDescriptor)EjbBundleDescriptorImplgetDescriptor()protected MapgetDispatchTable()StringgetDocType()StringgetSpecVersion()StringgetSystemID()List<String>getSystemIDs()protected com.sun.enterprise.deployment.node.XMLElementgetXMLRootTag()StringregisterBundle(Map publicIDToDTD)register this node as a root node capable of loading entire DD filesMap<String,Class>registerRuntimeBundle(Map<String,String> publicIDToDTD, Map<String,List<Class>> versionUpgrades)voidsetElementValue(com.sun.enterprise.deployment.node.XMLElement element, String value)NodewriteDescriptor(Node parent, EjbBundleDescriptorImpl ejbDesc)-
Methods inherited from class com.sun.enterprise.deployment.node.AbstractBundleNode
addBundleNodeAttributes, addPrefixMapping, appendChildNS, elementsAllowingEmptyValue, elementsPreservingWhiteSpace, getSchemaURL, setDocType, setSpecVersion, topLevelTagName, topLevelTagValue, writeMessageDestinations
-
Methods inherited from class com.sun.enterprise.deployment.node.DisplayableComponentNode
writeDisplayableComponentInfo
-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addNamespaceDeclaration, addNodeDescriptor, 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
-
-
-
-
Field Detail
-
tag
public static final com.sun.enterprise.deployment.node.XMLElement tag
-
PUBLIC_DTD_ID
public static final String PUBLIC_DTD_ID
- See Also:
- Constant Field Values
-
PUBLIC_DTD_ID_12
public static final String PUBLIC_DTD_ID_12
- See Also:
- Constant Field Values
-
SYSTEM_ID
public static final String SYSTEM_ID
The system ID of an ejb-jar document.- See Also:
- Constant Field Values
-
SYSTEM_ID_12
public static final String SYSTEM_ID_12
- See Also:
- Constant Field Values
-
SCHEMA_ID_21
public static final String SCHEMA_ID_21
- See Also:
- Constant Field Values
-
SCHEMA_ID_30
public static final String SCHEMA_ID_30
- See Also:
- Constant Field Values
-
SCHEMA_ID_31
public static final String SCHEMA_ID_31
- See Also:
- Constant Field Values
-
SCHEMA_ID_32
public static final String SCHEMA_ID_32
- See Also:
- Constant Field Values
-
SCHEMA_ID
public static final String SCHEMA_ID
- See Also:
- Constant Field Values
-
SPEC_VERSION
public static final String SPEC_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
registerBundle
public String registerBundle(Map 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
-
registerRuntimeBundle
public Map<String,Class> registerRuntimeBundle(Map<String,String> publicIDToDTD, Map<String,List<Class>> versionUpgrades)
-
addDescriptor
public void addDescriptor(Object newDescriptor)
- Specified by:
addDescriptorin interfacecom.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>- Overrides:
addDescriptorin classcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<EjbBundleDescriptorImpl>
-
setElementValue
public void setElementValue(com.sun.enterprise.deployment.node.XMLElement element, String value)- Specified by:
setElementValuein interfacecom.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>- Overrides:
setElementValuein classcom.sun.enterprise.deployment.node.AbstractBundleNode<EjbBundleDescriptorImpl>
-
getDescriptor
public EjbBundleDescriptorImpl getDescriptor()
- Specified by:
getDescriptorin interfacecom.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>- Overrides:
getDescriptorin classcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<EjbBundleDescriptorImpl>
-
getXMLRootTag
protected com.sun.enterprise.deployment.node.XMLElement getXMLRootTag()
- Overrides:
getXMLRootTagin classcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<EjbBundleDescriptorImpl>
-
getDispatchTable
protected Map getDispatchTable()
- Overrides:
getDispatchTablein classcom.sun.enterprise.deployment.node.AbstractBundleNode<EjbBundleDescriptorImpl>
-
writeDescriptor
public Node writeDescriptor(Node parent, EjbBundleDescriptorImpl ejbDesc)
- Specified by:
writeDescriptorin interfacecom.sun.enterprise.deployment.node.XMLNode<EjbBundleDescriptorImpl>- Overrides:
writeDescriptorin classcom.sun.enterprise.deployment.node.AbstractBundleNode<EjbBundleDescriptorImpl>
-
getDocType
public String getDocType()
-
getSystemID
public String getSystemID()
-
getSpecVersion
public String getSpecVersion()
-
-