FileDocCategorySizeDatePackage
JmsResource.javaAPI DocGlassfish v2 API3411Fri May 04 22:34:56 BST 2007com.sun.enterprise.tools.common.deploy

JmsResource

public class JmsResource extends BaseResource

Fields Summary
private NameValuePair[]
extParams
Constructors Summary
public JmsResource(List resources)

    
       
        super(resources, "JmsResource"); // NOI18N
        JndiName = "jms/jndiname";//NOI18N
        setResType("javax.jms.Queue"); // NOI18N
    
Methods Summary
public NameValuePair[]getExtParams()

        return extParams;
    
public voidsetExtParams(java.lang.Object[] value)

        Reporter.info(new Integer(value.length)); //NOI18N
        NameValuePair[] pairs = new NameValuePair[value.length];
        for (int i = 0; i < value.length; i++) {
            NameValuePair val = (NameValuePair)value[i];
            NameValuePair pair = new NameValuePair();
            pair.setParamName(val.getParamName());
            pair.setParamValue(val.getParamValue());
            pair.setParamDescription(val.getParamDescription());
            Reporter.info(pair.getParamName() + "   " + pair.getParamValue()); //NOI18N
            pairs[i] = pair;
        }
        NameValuePair[] oldValue = extParams;
        this.extParams = pairs;
        initPropertyChangeSupport();
        propertySupport.firePropertyChange ("extParams", oldValue, extParams);//NOI18N