Package com.sun.appserv.management.config

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


                    deployedItemRefConfig.setLBEnabled(true);
                }
                continue;
            }
            //Check to see if this is AppClient module
            final AppClientModuleConfig appClient =
                    mDomainConfig.getAppClientModuleConfigMap().get(deployedItemRefConfig.getName());
            if (appClient != null) {
                //if the type is user (There is no API yet), then only set the lb-enabled to true
                //if(appClient.getObjectType().equals(ObjectTypeValues.USER)) {
                    deployedItemRefConfig.setLBEnabled(true);
View Full Code Here


            @HandlerOutput(name="javaWebStart", type=Boolean.class)
  })
    public static void getAppClientInfo(HandlerContext handlerCtx) {
       
        String name = (String) handlerCtx.getInputValue("name");
  AppClientModuleConfig module = AMXUtil.getDomainConfig().getAppClientModuleConfigMap().get(name);
  if (module == null){
            GuiUtil.handleError(handlerCtx, GuiUtil.getMessage("msg.NoSuchAppclient"));
            return;
  }
  handlerCtx.setOutputValue("location", module.getLocation());
  handlerCtx.setOutputValue("description", module.getDescription());
  handlerCtx.setOutputValue("javaWebStart", module.getJavaWebStartEnabled());
    }
View Full Code Here

            @HandlerInput(name="description", type=String.class),
            @HandlerInput(name="javaWebStart", type=Boolean.class)
        })
    public static void saveAppClientInfo(HandlerContext handlerCtx) {
        String name = (String) handlerCtx.getInputValue("name");
  AppClientModuleConfig module = AMXUtil.getDomainConfig().getAppClientModuleConfigMap().get(name);
  if (module == null){
      GuiUtil.handleError(handlerCtx, GuiUtil.getMessage("msg.NoSuchAppclient"));
      return;
  }
  module.setJavaWebStartEnabled((Boolean)handlerCtx.getInputValue("javaWebStart"));
        module.setDescription((String)handlerCtx.getInputValue("description"));
    }
View Full Code Here

    public static void getDeployedAppClientInfo(HandlerContext handlerCtx){
       
        Iterator<AppClientModuleConfig> iter = AMXUtil.getDomainConfig().getAppClientModuleConfigMap().values().iterator();
        List result = new ArrayList();
        while(iter.hasNext()){
            AppClientModuleConfig appConfig = iter.next();
            HashMap oneRow = new HashMap();
            oneRow.put("name", appConfig.getName());
            oneRow.put("selected",false);
            boolean javaWebStart = appConfig.getJavaWebStartEnabled();
            if (javaWebStart){
                oneRow.put("javaWebStart", "true");
                oneRow.put("hasLaunch", true);
            }else{
                oneRow.put("javaWebStart", "false");
View Full Code Here

            if (embedded){
                J2EEApplicationConfig appConfig = AMXUtil.getDomainConfig().getJ2EEApplicationConfigMap().get(applicationName);
                jwsEnabled = appConfig.getJavaWebStartEnabled();
                location = appConfig.getLocation();
            }else{
                AppClientModuleConfig module = AMXUtil.getDomainConfig().getAppClientModuleConfigMap().get(appClientName);
                jwsEnabled = module.getJavaWebStartEnabled();
                location = module.getLocation();
            }
            if ( !jwsEnabled){
                handlerCtx.setOutputValue("IsEnabled", Boolean.FALSE);
                return;
            }
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.config.AppClientModuleConfig

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.