Class ValveNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
-
- com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode<Valve>
-
- org.glassfish.web.deployment.node.runtime.gf.ValveNode
-
public class ValveNode extends RuntimeDescriptorNode<Valve>
Node representing a valve tag.
-
-
Field Summary
Fields Modifier and Type Field Description protected Valvedescriptor-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description ValveNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValvegetDescriptor()protected booleansetAttributeValue(XMLElement elementName, XMLElement attributeName, String value)parsed an attribute of an elementNodewriteDescriptor(Node parent, String nodeName, Valve descriptor)Writes the descriptor class to a DOM tree and returns itvoidwriteDescriptor(Node parent, String nodeName, Valve[] valves)write the descriptor class to a DOM tree and return it-
Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode
createDescriptor, setElementValue, writeCommonComponentInfo, writeMessageDestinationInfo
-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getDispatchTable, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
-
-
-
-
Field Detail
-
descriptor
protected Valve descriptor
-
-
Method Detail
-
getDescriptor
public Valve getDescriptor()
- Specified by:
getDescriptorin interfaceXMLNode<Valve>- Overrides:
getDescriptorin classRuntimeDescriptorNode<Valve>- Returns:
- the descriptor instance to associate with this XMLNode
-
setAttributeValue
protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
Description copied from class:DeploymentDescriptorNodeparsed an attribute of an element- Overrides:
setAttributeValuein classDeploymentDescriptorNode<Valve>- Parameters:
elementName- the element nameattributeName- the attribute namevalue- the attribute value- Returns:
- true if the attribute was processed
-
writeDescriptor
public Node writeDescriptor(Node parent, String nodeName, Valve descriptor)
Writes the descriptor class to a DOM tree and returns it- Overrides:
writeDescriptorin classDeploymentDescriptorNode<Valve>- Parameters:
parent- node for the DOM treenodeName- node namedescriptor- the descriptor to write- Returns:
- the DOM tree top node
-
-