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

JMSObjectInfo

public class JMSObjectInfo extends Object implements Serializable
A class representing the information on one JMS object.
author
Isa Hashim
version
1.0

Fields Summary
private String
jndiName
private String
type
private Properties
attrs
Constructors Summary
public JMSObjectInfo(String jndiName, String type)

        ArgChecker.checkValid(jndiName, "jndiName", 
                              StringValidator.getInstance()); //noi18n
        ArgChecker.checkValid(type, "type", 
                              StringValidator.getInstance()); //noi18n

        this.jndiName = jndiName;
        this.type = type;
        this.attrs = new Properties();
    
public JMSObjectInfo(String jndiName, String type, Properties attrs)

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

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

        return (jndiName);
    
public java.lang.StringgetType()

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

        StringBuffer sb = new StringBuffer();
        sb.append(jndiName);
        sb.append(' ");
        sb.append(type);
        sb.append(' ");
        sb.append(attrs);
        return sb.toString();