Package org.jolokia.util

Examples of org.jolokia.util.ConfigKey


    private Map<ConfigKey, String> servletConfigAsMap(ServletConfig pConfig) {
        Enumeration e = pConfig.getInitParameterNames();
        Map<ConfigKey,String> ret = new HashMap<ConfigKey, String>();
        while (e.hasMoreElements()) {
            String keyS = (String) e.nextElement();
            ConfigKey key = ConfigKey.getGlobalConfigKey(keyS);
            if (key != null) {
                ret.put(key,pConfig.getInitParameter(keyS));
            }
        }
        return ret;
View Full Code Here


    // Init parameters and value fault handler
    private void initParameters(Map<String, String> pParams) {
        if (pParams != null) {
            for (Map.Entry<String,?> entry : pParams.entrySet()) {
                ConfigKey cKey = ConfigKey.getRequestConfigKey(entry.getKey());
                Object value = entry.getValue();
                if (cKey != null) {
                    processingConfig.put(cKey, value != null ? value.toString() : null);
                }
            }
View Full Code Here

TOP

Related Classes of org.jolokia.util.ConfigKey

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.