Package com.sun.appserv.management.config

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


                    deployedItemRefConfig.setLBEnabled(true);
                }
                continue;
            }
            //Check to see if this is EJB module
            final EJBModuleConfig ejb =
                    mDomainConfig.getEJBModuleConfigMap().get(deployedItemRefConfig.getName());
            if (ejb != null) {
                //if the type is user, then only set the lb-enabled to true
                if(ejb.getObjectType().equals(ObjectTypeValues.USER)) {
                    deployedItemRefConfig.setLBEnabled(true);
                }
                continue;
            }
            //Check to see if this is RAR module
View Full Code Here


      }
  }else
  if ("ejbModule".equals(appType)){
            module = AMXUtil.getDomainConfig().getEJBModuleConfigMap().get(name);
            if (module != null){
                EJBModuleConfig ejbModule = (EJBModuleConfig) module;
    handlerCtx.setOutputValue("availEnabled", ejbModule.getAvailabilityEnabled());
      }
  }else
  if ("webApp".equals(appType)){
            module = AMXUtil.getDomainConfig().getWebModuleConfigMap().get(name);
      if (module != null){
View Full Code Here

      }
  }else
  if ("ejbModule".equals(appType)){
      module = AMXUtil.getDomainConfig().getEJBModuleConfigMap().get(name);
            if (module != null){
                EJBModuleConfig ejbModule = (EJBModuleConfig) module;
                if (AMXUtil.isEE()){
                    Boolean ae = (Boolean)handlerCtx.getInputValue("availEnabled");
                    if (ae != null)
                        ejbModule.setAvailabilityEnabled(ae);
                }
      }
  }else
  if ("webApp".equals(appType)){
      module = AMXUtil.getDomainConfig().getWebModuleConfigMap().get(name);
View Full Code Here

    public static void getDeployedEJBModuleInfo(HandlerContext handlerCtx){
       
        Iterator<EJBModuleConfig> iter = AMXUtil.getDomainConfig().getEJBModuleConfigMap().values().iterator();
        List result = new ArrayList();
        while(iter.hasNext()){
            EJBModuleConfig appConfig = iter.next();
            if (ObjectTypeValues.USER.equals(appConfig.getObjectType())){
                HashMap oneRow = new HashMap();
                oneRow.put("name", appConfig.getName());
                oneRow.put("enabled", TargetUtil.getEnabledStatus(appConfig, true));
                oneRow.put("location", appConfig.getLocation());
                oneRow.put("selected", false);
                oneRow.put("hasLaunch", false);
                result.add(oneRow);
            }
        }
View Full Code Here

TOP

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

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.