FileDocCategorySizeDatePackage
ContextResourceLink.javaAPI DocApache Tomcat 6.0.142309Fri Jul 20 04:20:32 BST 2007org.apache.catalina.deploy

ContextResourceLink

public class ContextResourceLink extends ResourceBase implements Serializable
Representation of a resource link for a web application, as represented in a <ResourceLink> element in the server configuration file.
author
Remy Maucherat
author
Peter Rossbach (Peter Rossbach (pero@apache.org))
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
private String
global
The global name of this resource.
Constructors Summary
Methods Summary
public java.lang.StringgetGlobal()


       
        return (this.global);
    
public voidsetGlobal(java.lang.String global)

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


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