FileDocCategorySizeDatePackage
MailConfigurationNode.javaAPI DocGlassfish v2 API3409Fri May 04 22:31:42 BST 2007com.sun.enterprise.deployment.node.runtime

MailConfigurationNode

public class MailConfigurationNode extends com.sun.enterprise.deployment.node.DeploymentDescriptorNode
This node handles the runtime deployment descriptor tag default-resource-principal
author
Jerome Dochez
version

Fields Summary
private String
name
private String
mail_from
private String
mail_host
Constructors Summary
Methods Summary
public voidpostParsing()
notification of the end of XML parsing for this node

        getParentNode().addDescriptor(new MailConfiguration(name, mail_from, mail_host));                    
    
public voidsetElementValue(com.sun.enterprise.deployment.node.XMLElement element, java.lang.String value)
receives notification of the value for a particular tag

param
element the xml element
param
value it's associated value

    
                             
          
        if (RuntimeTagNames.NAME.equals(element.getQName())) {
            name = value;
        } else  if (RuntimeTagNames.MAIL_FROM.equals(element.getQName())) {
            mail_from = value;
        } else  if (RuntimeTagNames.MAIL_HOST.equals(element.getQName())) {
            mail_host = value;
        }