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

MessageDestination

public class MessageDestination extends Object

Representation of a message destination for a web application, as represented in a <message-destination> 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.
private String
displayName
The display name of this destination.
private String
largeIcon
The large icon of this destination.
private String
name
The name of this destination.
private String
smallIcon
The small icon of this destination.
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()


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


       
        return (this.displayName);
    
public java.lang.StringgetLargeIcon()


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


       
        return (this.name);
    
public java.lang.StringgetSmallIcon()


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

        this.description = description;
    
public voidsetDisplayName(java.lang.String displayName)

        this.displayName = displayName;
    
public voidsetLargeIcon(java.lang.String largeIcon)

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

        this.name = name;
    
public voidsetSmallIcon(java.lang.String smallIcon)

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


        StringBuffer sb = new StringBuffer("MessageDestination[");
        sb.append("name=");
        sb.append(name);
        if (displayName != null) {
            sb.append(", displayName=");
            sb.append(displayName);
        }
        if (largeIcon != null) {
            sb.append(", largeIcon=");
            sb.append(largeIcon);
        }
        if (smallIcon != null) {
            sb.append(", smallIcon=");
            sb.append(smallIcon);
        }
        if (description != null) {
            sb.append(", description=");
            sb.append(description);
        }
        sb.append("]");
        return (sb.toString());