Examples of OrderedSet


Examples of com.sun.enterprise.deployment.OrderedSet

        initParameters.put(parameter.getName(), parameter);
    } */

    private Set getInitializationParameterSet() {
  if (this.initializationParameters == null) {
      this.initializationParameters = new OrderedSet();
  }
  return this.initializationParameters =
                new OrderedSet(this.initializationParameters);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.OrderedSet

    }
   
    /** Security Role references */
    Set getSecurityRoleReferenceSet() {
  if (this.securityRoleReferences == null) {
      this.securityRoleReferences = new OrderedSet();
  }
  return this.securityRoleReferences = new OrderedSet(this.securityRoleReferences);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.OrderedSet

    /**
    * Returns the Set of my COntext Parameters.
    */
    public Set getContextParametersSet() {
        if (this.contextParameters == null) {
            this.contextParameters = new OrderedSet();
        }

        return this.contextParameters = new OrderedSet(this.contextParameters);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.OrderedSet

    /**
     * Returns my Set of references to resources.
     */
    public Set getResourceReferenceDescriptors() {
        if (this.resourceReferences == null) {
            this.resourceReferences = new OrderedSet();
        }

        return this.resourceReferences = new OrderedSet(this.resourceReferences);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.OrderedSet

    /**
            * Return the set of JMS destination references this ejb declares.
            */
    public Set getJmsDestinationReferenceDescriptors() {
        if (this.jmsDestReferences == null) {
            this.jmsDestReferences = new OrderedSet();
        }

        return this.jmsDestReferences = new OrderedSet(this.jmsDestReferences);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.OrderedSet

    /**
     * @param environmentEntry
     */
    public void addEnvironmentProperty(EnvironmentProperty environmentProperty) {
        if (environmentEntries == null) {
            environmentEntries = new OrderedSet();
        }

        environmentEntries.add(environmentProperty);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.OrderedSet

    /**
     * @param ejbReference
     */
    public void addEjbReferenceDescriptor(EjbReference ejbReference) {
        if (ejbReferences == null) {
            ejbReferences = new OrderedSet();
        }

        ejbReference.setReferringBundleDescriptor(this);
        ejbReferences.add(ejbReference);
    }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

    } catch (Exception e) {
      logger
          .log(Level.SEVERE, "faild to find a package from its name",
              e);
    }
    return oclLib.new OrderedSet(packages);
  }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

        }
      }
    } catch (Exception e) {
      logger.log(Level.SEVERE, "faild to find a package from a nsURI", e);
    }
    return oclLib.new OrderedSet(packages);
  }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

    }
    return oclLib.new OrderedSet(packages);
  }

  public OrderedSet getOutsideModulesByName(java.lang.String self, Trace trace) {
    OrderedSet result = oclLib.new OrderedSet();
    String nsURI = properties.getProperty(self + ".nsURI");
    if (nsURI == null) {
      logger.log(Level.SEVERE, self
          + " nsURI not found in the '.properties' file.");
    } else {
      ModuleDescription md = ModulesmanagerPlugin.getDefault()
          .getModulesRegistry().getModuleDescriptionByNSURI(nsURI);
      String location = null;
      if (md.location.matches("installed")) {
        location = "platform:/plugin/" + md.plugin + "/" + md.model;
      } else {
        location = "platform:/resource/" + md.plugin + "/" + md.model;
      }
      try {
        logger.info(location);
        QvtLib.Model m = qvtLib.new EMFXMIModel(URI.createURI(location));
        m.load();
        Iterator iter = m.getAllContents();
        while (iter.hasNext()) {
          EObject eobj = (EObject) iter.next();
          if (eobj instanceof Module) {
            Module module = (Module) eobj;
            result.add(module);
          }
        }
      } catch (Exception e) {
        logger.log(Level.SEVERE, "failed to read " + location, e);
      }
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.