Examples of ModuleType


Examples of com.google.gwt.dev.cfg.ModuleDef.ModuleType

  }

  @SuppressWarnings("unused")
  protected Schema __module_begin(NullableName renameTo, String type)
      throws UnableToCompleteException {
    ModuleType moduleType = ModuleType.valueOf(type.toUpperCase(Locale.ENGLISH));
    moduleDef.enterModule(moduleType, moduleName);

    // All modules implicitly depend on com.google.gwt.core.Core. Processing of this dependency
    // needs to occur early so that subsequent processing has the opportunity to override property
    // values.
View Full Code Here

Examples of com.intellij.openapi.module.ModuleType

    public Module getModule() {
        return module;
    }

    public Icon getIcon(int flags) {
        ModuleType moduleType = CompatibilityUtil.getModuleType(module);
        return module == null ? null : moduleType.getNodeIcon(false);
    }
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

         jos = new JarOutputStream(fos, manifest);
      else jos = new JarOutputStream(fos);

      // process all modules
      TargetModuleInfo moduleInfo = new TargetModuleInfo();
      ModuleType moduleType = null;
      JarEntry entry = jis.getNextJarEntry();
      while (entry != null)
      {
         String entryName = entry.getName();
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

   /**
    * A simple module type determination taking only the descriptor name into account.
    */
   private static ModuleType determineModuleType(String entryName)
   {
      ModuleType moduleType = null;
      if (entryName.endsWith("/application.xml"))
      {
         moduleType = ModuleType.EAR;
      }
      else if (entryName.endsWith("/application-client.xml"))
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

      List<DeploymentContext> children = info.getChildren();
      for(DeploymentContext ctx : children)
      {
         try
         {
            ModuleType type = getModuleType(ctx);
            // Discard unknown ModuleTypes
            if (type != null)
            {
               String module = ctx.getName();
               // TODO, DEPLOYED may not be the same as running?
               boolean isRunning = ctx.getState() == DeploymentState.DEPLOYED;
               SerializableTargetModuleID child = new SerializableTargetModuleID(moduleID, module, type.getValue(), isRunning);
               moduleID.addChildTargetModuleID(child);
               fillChildrenTargetModuleID(child, ctx);
            }
         }
         catch (UnsupportedOperationException e)
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

    * @param info
    * @return
    */
   private ModuleType getModuleType(DeploymentContext info)
   {
      ModuleType type = null;
      DeploymentUnit unit = info.getDeploymentUnit();

      if (unit.getAttachment(carDeployerType) != null)
      {
         type = ModuleType.CAR;
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

         for (int n = 0; n < modules.length; n++)
         {
            SerializableTargetModuleID id = modules[n];
            String moduleID = id.getModuleID();
            boolean isRunning = id.isRunning();
            ModuleType type = ModuleType.getModuleType(id.getModuleType());
            TargetModuleIDImpl tmid = new TargetModuleIDImpl(this, moduleID, null, isRunning, type);
            convertChildren(tmid, id);
            list.add(tmid);
         }
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

      for (int n = 0; n < length; n++)
      {
         SerializableTargetModuleID id = children[n];
         String moduleID = id.getModuleID();
         boolean isRunning = id.isRunning();
         ModuleType type = ModuleType.getModuleType(id.getModuleType());
         TargetModuleIDImpl child = new TargetModuleIDImpl(this, moduleID, parent, isRunning, type);
         parent.addChildTargetModuleID(child);
         convertChildren(child, id);
      }
   }
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

        } catch (IllegalStateException e) {
            throw new DeploymentSyntaxException(e.getMessage(), e);
        }
       
        for (int i = 0; i < modules.length; i++) {
            ModuleType type = ((TargetModuleIDImpl)modules[i]).getType();
            if (type != null) {
                if (type.equals(ModuleType.WAR) || type.equals(ModuleType.EAR) || type.equals(ModuleType.EJB) || type.equals(ModuleType.RAR) || type.equals(ModuleType.CAR)) {
                    apps.add(((TargetModuleIDImpl)modules[i]).getModuleID());
                }
            }
        }
       
View Full Code Here

Examples of javax.enterprise.deploy.shared.ModuleType

        } catch (IllegalStateException e) {
            throw new DeploymentSyntaxException(e.getMessage(), e);
        }

        for (int i = 0; i < modules.length; i++) {
            ModuleType type = ((TargetModuleIDImpl)modules[i]).getType();
            if (type != null) {
                if (type.equals(ModuleType.WAR) || type.equals(ModuleType.EAR) || type.equals(ModuleType.EJB) || type.equals(ModuleType.RAR) || type.equals(ModuleType.CAR)) {
                    apps.add(((TargetModuleIDImpl)modules[i]).getModuleID());
                }
            }
        }
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.