FileDocCategorySizeDatePackage
ApplicationParameter.javaAPI DocGlassfish v2 API4369Fri May 04 22:32:08 BST 2007org.apache.catalina.deploy

ApplicationParameter

public class ApplicationParameter extends Object implements Serializable
Representation of a context initialization parameter that is configured in the server configuration file, rather than the application deployment descriptor. This is convenient for establishing default values (which may be configured to allow application overrides or not) without having to modify the application deployment descriptor itself.
author
Craig R. McClanahan
version
$Revision: 1.3 $ $Date: 2007/05/05 05:32:08 $

Fields Summary
private String
description
The description of this environment entry.
private String
name
The name of this application parameter.
private boolean
override
Does this application parameter allow overrides by the application deployment descriptor?
private String
value
The value of this application parameter.
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()


       
        return (this.description);
    
public java.lang.StringgetName()


       
        return (this.name);
    
public booleangetOverride()


       
        return (this.override);
    
public java.lang.StringgetValue()


       
        return (this.value);
    
public voidsetDescription(java.lang.String description)

        this.description = description;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
public voidsetOverride(boolean override)

        this.override = override;
    
public voidsetValue(java.lang.String value)

        this.value = value;
    
public java.lang.StringtoString()
Return a String representation of this object.


        StringBuffer sb = new StringBuffer("ApplicationParameter[");
        sb.append("name=");
        sb.append(name);
        if (description != null) {
            sb.append(", description=");
            sb.append(description);
        }
        sb.append(", value=");
        sb.append(value);
        sb.append(", override=");
        sb.append(override);
        sb.append("]");
        return (sb.toString());