Class CacheNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
-
- com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode<Cache>
-
- org.glassfish.web.deployment.node.runtime.gf.CacheNode
-
public class CacheNode extends RuntimeDescriptorNode<Cache>
node for cache tag- Author:
- Jerome Dochez
-
-
Field Summary
Fields Modifier and Type Field Description protected Cachedescriptor-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description CacheNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachegetDescriptor()protected booleansetAttributeValue(XMLElement elementName, XMLElement attributeName, String value)parsed an attribute of an elementNodewriteDescriptor(Node parent, String nodeName, Cache descriptor)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 Cache descriptor
-
-
Method Detail
-
getDescriptor
public Cache getDescriptor()
- Specified by:
getDescriptorin interfaceXMLNode<Cache>- Overrides:
getDescriptorin classRuntimeDescriptorNode<Cache>- Returns:
- the descriptor instance to associate with this XMLNode
-
setAttributeValue
protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
parsed an attribute of an element- Overrides:
setAttributeValuein classDeploymentDescriptorNode<Cache>- 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, Cache descriptor)
write the descriptor class to a DOM tree and return it- Overrides:
writeDescriptorin classDeploymentDescriptorNode<Cache>- Parameters:
parent- node for the DOM treenodeName- node namedescriptor- the descriptor to write- Returns:
- the DOM tree top node
-
-