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

ContextResourceLink

public class ContextResourceLink extends Object 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
version
$Revision: 1.3 $ $Date: 2007/05/05 05:32:08 $

Fields Summary
private String
name
The name of this resource.
private String
type
The type of this resource.
private String
global
The global name of this resource.
protected NamingResources
resources
The NamingResources with which we are associated (if any).
Constructors Summary
Methods Summary
public java.lang.StringgetGlobal()


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


       
        return (this.name);
    
public NamingResourcesgetNamingResources()


       
        return (this.resources);
    
public java.lang.StringgetType()


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

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

        this.name = name;
    
voidsetNamingResources(NamingResources resources)

        this.resources = resources;
    
public voidsetType(java.lang.String type)

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


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