FileDocCategorySizeDatePackage
JMSDestinationInfo.javaAPI DocGlassfish v2 API3554Fri May 04 22:33:16 BST 2007com.sun.enterprise.admin.common

JMSDestinationInfo

public class JMSDestinationInfo extends Object implements Serializable
A class representing the information on one JMS destination created by the JMS provider.
author
Isa Hashim
version
1.0

Fields Summary
private String
destName
private String
destType
private Properties
attrs
Constructors Summary
public JMSDestinationInfo(String destName, String destType)

        ArgChecker.checkValid(destName, "destName", 
                              StringValidator.getInstance()); //noi18n
        ArgChecker.checkValid(destType, "destType", 
                              StringValidator.getInstance()); //noi18n

        this.destName = destName;
        this.destType = destType;
        this.attrs = new Properties();
    
public JMSDestinationInfo(String destName, String destType, Properties attrs)

        this(destName, destType);
        ArgChecker.checkValid(attrs, "attrs"); //noi18n
        this.attrs = attrs;
    
Methods Summary
public java.util.PropertiesgetAttrs()

        return (attrs);
    
public java.lang.StringgetDestinationName()

        return (destName);
    
public java.lang.StringgetDestinationType()

        return (destType);
    
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();
        sb.append(destName);
        sb.append(' ");
        sb.append(destType);
        sb.append(' ");
        sb.append(attrs);
        return sb.toString();