Class SecurityIdentityNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode
-
- org.glassfish.ejb.deployment.node.SecurityIdentityNode
-
- All Implemented Interfaces:
XMLNode
public class SecurityIdentityNode extends DeploymentDescriptorNode
This node handles all information relative to security-indentity tag- Version:
- Author:
- Jerome Dochez
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description SecurityIdentityNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDescriptor()protected MapgetDispatchTable()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.voidsetElementValue(XMLElement element, String value)receives notification of the value for a particular tagvoidstartElement(XMLElement element, Attributes attributes)SAX Parser API implementation, we don't really care for now.NodewriteDescriptor(Node parent, String nodeName, EjbDescriptor descriptor)-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, writeDescriptor, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
-
-
-
-
Method Detail
-
getDescriptor
public Object getDescriptor()
- Specified by:
getDescriptorin interfaceXMLNode- Overrides:
getDescriptorin classDeploymentDescriptorNode- Returns:
- the descriptor instance to associate with this XMLNode
-
getDispatchTable
protected Map getDispatchTable()
Description copied from class:DeploymentDescriptorNodeall 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.- Overrides:
getDispatchTablein classDeploymentDescriptorNode- Returns:
- the map with the element name as a key, the setter method as a value
-
startElement
public void startElement(XMLElement element, Attributes attributes)
Description copied from class:DeploymentDescriptorNodeSAX Parser API implementation, we don't really care for now.- Specified by:
startElementin interfaceXMLNode- Overrides:
startElementin classDeploymentDescriptorNode- Parameters:
element- the XML element type nameattributes- the specified or defaultted attritutes
-
setElementValue
public void setElementValue(XMLElement element, String value)
Description copied from class:DeploymentDescriptorNodereceives notification of the value for a particular tag- Specified by:
setElementValuein interfaceXMLNode- Overrides:
setElementValuein classDeploymentDescriptorNode- Parameters:
element- the xml elementvalue- it's associated value
-
writeDescriptor
public Node writeDescriptor(Node parent, String nodeName, EjbDescriptor descriptor)
-
-