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

MessageDestinationRef

public class MessageDestinationRef extends Object implements Serializable

Representation of a message destination reference for a web application, as represented in a <message-destination-ref> element in the deployment descriptor.

author
Craig R. McClanahan
version
$Revision: 1.3 $ $Date: 2007/05/05 05:32:08 $
since
Tomcat 5.0

Fields Summary
private String
description
The description of this destination ref.
private String
link
The link of this destination ref.
private String
name
The name of this destination ref.
private String
type
The type of this destination ref.
private String
usage
The usage of this destination ref.
protected NamingResources
resources
The NamingResources with which we are associated (if any).
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()


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


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


       
        return (this.name);
    
public NamingResourcesgetNamingResources()


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


       
        return (this.type);
    
public java.lang.StringgetUsage()


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

        this.description = description;
    
public voidsetLink(java.lang.String link)

        this.link = link;
    
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 voidsetUsage(java.lang.String usage)

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


        StringBuffer sb = new StringBuffer("MessageDestination[");
        sb.append("name=");
        sb.append(name);
        if (link != null) {
            sb.append(", link=");
            sb.append(link);
        }
        if (type != null) {
            sb.append(", type=");
            sb.append(type);
        }
        if (usage != null) {
            sb.append(", usage=");
            sb.append(usage);
        }
        if (description != null) {
            sb.append(", description=");
            sb.append(description);
        }
        sb.append("]");
        return (sb.toString());