Package org.apache.axis.utils

Examples of org.apache.axis.utils.LockableHashtable


        this.makeLockable = makeLockable;
    }

    protected void initHashtable() {
        if (makeLockable) {
            options = new LockableHashtable();
        } else {
            options = new Hashtable();
        }
    }
View Full Code Here


                }
            }
        }

        if (parameters == null)
            parameters = new LockableHashtable();
       
        // Load up our params
        Element [] paramElements = getChildElements(e, ELEM_WSDD_PARAM);
        for (int i = 0; i < paramElements.length; i++) {
            Element param = paramElements[i];
View Full Code Here

     * Set a parameter
     */
    public void setParameter(String name, String value)
    {
        if (parameters == null)
            parameters = new LockableHashtable();
        parameters.put(name, value);
    }
View Full Code Here

    public void setOptionsHashtable(Hashtable hashtable)
    {
        if (hashtable == null)
            return;
       
        parameters = new LockableHashtable(hashtable);
    }
View Full Code Here

    /**
     * Returns the config parameters as a hashtable (lockable)
     */
    public LockableHashtable getParametersTable() {
        if (parms == null) {
            parms = new LockableHashtable();
            WSDDParameter[] ps = getParameters();
            for (int n = 0; n < ps.length; n++) {
                WSDDParameter p = (WSDDParameter)ps[n];
                //parms.put(p.getName(), p.getValue(), p.getLocked());
                parms.put(p.getName(), "", p.getLocked());
View Full Code Here

        return opts;
    }
   
    public LockableHashtable getOptionsTable() {
        if (options == null) {
            options = new LockableHashtable();
            V2DDOption[] opts = getOptions();
            for (int n = 0; n < opts.length; n++) {
                options.put(opts[n].getKey(), opts[n].getValue(), true);
            }
        }
View Full Code Here

    }

    public void setPropertyParent(Hashtable parent)
    {
        if (options == null) {
            options = new LockableHashtable();
        }
        ((LockableHashtable)options).setParent(parent);
    }
View Full Code Here

                }
            }
        }

        if (parameters == null)
            parameters = new LockableHashtable();
       
        // Load up our params
        Element [] paramElements = getChildElements(e, ELEM_WSDD_PARAM);
        for (int i = 0; i < paramElements.length; i++) {
            Element param = paramElements[i];
View Full Code Here

     * Set a parameter
     */
    public void setParameter(String name, String value)
    {
        if (parameters == null)
            parameters = new LockableHashtable();
        parameters.put(name, value);
    }
View Full Code Here

    public void setOptionsHashtable(Hashtable hashtable)
    {
        if (hashtable == null)
            return;
       
        parameters = new LockableHashtable(hashtable);
    }
View Full Code Here

TOP

Related Classes of org.apache.axis.utils.LockableHashtable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.