Examples of WebServiceEndpointConfig


Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        String wsName = (String)handlerCtx.getInputValue("WebServiceName");
        String appName = (String)handlerCtx.getInputValue("AppName");
        String bundleName = (String)handlerCtx.getInputValue("BundleName");
        String type = (String)handlerCtx.getInputValue("Type");
        Boolean isStandalone = (Boolean)handlerCtx.getInputValue("IsStandalone");
        WebServiceEndpointConfig wsConfig
            = getWebServiceEndpointConfig(appName, bundleName, wsName, type, isStandalone);
       
        String level;
        String history;
        if (wsConfig == null) {
            level = "OFF";
            history = "25";
        } else {
            level = wsConfig.getMonitoringLevel();
            history = wsConfig.getMaxHistorySize();
        }
      
        handlerCtx.setOutputValue("Level", level);
        handlerCtx.setOutputValue("History", history);
    }
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        String type = (String)handlerCtx.getInputValue("Type");
        Boolean isStandalone = (Boolean)handlerCtx.getInputValue("IsStandalone");
        String level = (String)handlerCtx.getInputValue("Level");
        String history = (String)handlerCtx.getInputValue("History");
        try{
            WebServiceEndpointConfig wsConfig
                = getWebServiceEndpointConfig(appName, bundleName, wsName, type, isStandalone);
            if (wsConfig == null) {
                try {
                    wsConfig = createWebServiceEndpointConfig(appName, bundleName, wsName, type, isStandalone);
                } catch(Exception ex) {
                    GuiUtil.handleException(handlerCtx, ex);
                }
            }
            if (wsConfig != null) {
                wsConfig.setMonitoringLevel(level);
                wsConfig.setMaxHistorySize(history);
            }
        }catch(Exception ex){
            GuiUtil.handleException(handlerCtx, ex);
        }
    }
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

            int i=0;
            for(Map rule : rulesSelected){
                String ruleName = (String) rule.get("RuleName");
                rules[i++] = ruleName;
            }
            WebServiceEndpointConfig endpointConfig = getWebServiceEndpointConfig(webServiceKey);
            if (endpointConfig != null) {
                Map ruleMap = endpointConfig.getTransformationRuleConfigMap();
                for (int j=0; j < rules.length; j++) {
                    TransformationRuleConfig rule = (TransformationRuleConfig)ruleMap.get(rules[j]);
                    if (action.equals("enable")) rule.setEnabled(true);
                    if (action.equals("disable")) rule.setEnabled(false);
                    if (action.equals("remove")) endpointConfig.removeTransformationRuleConfig(rules[j]);
                }
            }
        } catch (Exception ex) {
            GuiUtil.handleException(handlerCtx, ex);
        }       
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

    private static RegistryLocationConfig getRegistryLocationConfig(String webServiceKey, String registryName) {
        return (RegistryLocationConfig)getRegistryLocationConfigMap(webServiceKey).get(registryName);
    }
   
    private static Map getRegistryLocationConfigMap(Object webServiceKey) {
        WebServiceEndpointConfig wseConfig = getWebServiceEndpointConfig(webServiceKey);
        return wseConfig == null ? null : wseConfig.getRegistryLocationConfigMap();
    }
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        WebServiceEndpointConfig wseConfig = getWebServiceEndpointConfig(webServiceKey);
        return wseConfig == null ? null : wseConfig.getRegistryLocationConfigMap();
    }
   
    private static TransformationRuleConfig createTransformationRuleConfig(Object webServiceKey, String ruleName, boolean enabled, String applyTo, String ruleFileLocation, Map map) {
        WebServiceEndpointConfig wseConfig = getWebServiceEndpointConfig(webServiceKey);
  if (wseConfig == null) {
            wseConfig = createWebServiceEndpointConfig(webServiceKey);
        }       
        return wseConfig.createTransformationRuleConfig(ruleName, ruleFileLocation, enabled, applyTo, map);
    }
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        }       
        return wseConfig.createTransformationRuleConfig(ruleName, ruleFileLocation, enabled, applyTo, map);
    }
   
    private static List getTransformationRuleConfigList(String webServiceKey) {
        WebServiceEndpointConfig wseConfig = getWebServiceEndpointConfig(webServiceKey);
        return wseConfig == null ? null : wseConfig.getTransformationRuleConfigList();
    }
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        WebServiceEndpointConfig wseConfig = getWebServiceEndpointConfig(webServiceKey);
        return wseConfig == null ? null : wseConfig.getTransformationRuleConfigList();
    }
   
    private static WebServiceEndpointConfig createWebServiceEndpointConfig(String appName, String bundleName, String wsName, String type, Boolean isStandalone) {
        WebServiceEndpointConfig wsConfig = null;
        String fullQualName = buildFullyQualifiedWSName(bundleName, wsName, isStandalone);
        if (!isStandalone) {
            J2EEApplicationConfig appConfig
                =  AMXUtil.getDomainConfig().getJ2EEApplicationConfigMap().get(appName);
            wsConfig = appConfig.createWebServiceEndpointConfig(fullQualName, null);
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        String appName = wsInfo.getAppID();
        String wsName = wsInfo.getName();
        String bundleName = wsInfo.getBundleName();
        String type = wsInfo.getServiceImplType();
        boolean isStandalone = wsInfo.isAppStandaloneModule();
        WebServiceEndpointConfig wsConfig = null;
        String fullQualName = buildFullyQualifiedWSName(bundleName, wsName, isStandalone);
        if (!isStandalone) {
            J2EEApplicationConfig appConfig
                =  AMXUtil.getDomainConfig().getJ2EEApplicationConfigMap().get(appName);
            wsConfig = appConfig.createWebServiceEndpointConfig(fullQualName, null);
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        String appName = wsInfo.getAppID();
        String bundleName = wsInfo.getBundleName();
        String wsName = wsInfo.getName();
        String type = wsInfo.getServiceImplType();
        boolean isStandalone = wsInfo.isAppStandaloneModule();
        WebServiceEndpointConfig wsConfig = null;
        Map<String,WebServiceEndpointConfig> map = null;
        if (!isStandalone) {
            J2EEApplicationConfig appConfig
                =  AMXUtil.getDomainConfig().getJ2EEApplicationConfigMap().get(appName);
            map = appConfig.getWebServiceEndpointConfigMap();
View Full Code Here

Examples of com.sun.appserv.management.config.WebServiceEndpointConfig

        wsConfig = map.get(fullQualName);
        return wsConfig;
   
     
    private static WebServiceEndpointConfig getWebServiceEndpointConfig(String appName, String bundleName, String wsName, String type, Boolean isStandalone) {
        WebServiceEndpointConfig wsConfig = null;
        Map<String,WebServiceEndpointConfig> map = null;
        if (!isStandalone) {
            J2EEApplicationConfig appConfig
                =  AMXUtil.getDomainConfig().getJ2EEApplicationConfigMap().get(appName);
            map = appConfig.getWebServiceEndpointConfigMap();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.