FileDocCategorySizeDatePackage
ContextResourceEnvRef.javaAPI DocApache Tomcat 6.0.142318Fri Jul 20 04:20:34 BST 2007org.apache.catalina.deploy

ContextResourceEnvRef

public class ContextResourceEnvRef extends ResourceBase implements Serializable
Representation of an application resource reference, as represented in an <res-env-refy> element in the deployment descriptor.
author
Craig R. McClanahan
author
Peter Rossbach (pero@apache.org)
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
private boolean
override
Does this environment entry allow overrides by the application deployment descriptor?
Constructors Summary
Methods Summary
public booleangetOverride()


       
        return (this.override);
    
public voidsetOverride(boolean override)

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


        StringBuffer sb = new StringBuffer("ContextResourceEnvRef[");
        sb.append("name=");
        sb.append(getName());
        if (getType() != null) {
            sb.append(", type=");
            sb.append(getType());
        }
        sb.append(", override=");
        sb.append(override);
        sb.append("]");
        return (sb.toString());