Examples of VersionEntry


Examples of com.caucho.server.deploy.VersionEntry

  public boolean isModified()
  {
    if (_isModified)
      return true;

    VersionEntry entry = _generator.getVersionEntry(getId());

    if (entry == null)
      return false;

View Full Code Here

Examples of com.caucho.server.deploy.VersionEntry

  private WebAppController createVersioningController(String name,
                                                      String contextPath,
                                                      String segmentName)
  {
    VersionEntry entry = getVersionEntry(segmentName);

    if (entry == null)
      return null;

    String baseName = name;

    String baseContextPath = _urlPrefix + entry.getBaseContextPath();
    String versionContextPath = _urlPrefix + entry.getContextPath();

    if (! baseContextPath.equals(versionContextPath))
      return makeController(name, baseContextPath, versionContextPath);

    VersionEntry versionEntry = getVersionEntryByRoot(entry.getRoot());

    if (versionEntry == null) {
      throw new ConfigException(L.l("Versioned web-app '{0}' is not valid because it does not have a concrete version.  Check that the web-app is properly configured.", name));
    }
View Full Code Here

Examples of com.prupe.mcpatcher.Config$VersionEntry

    return profile;
  }

  Config$VersionEntry getSelectedVersion() {
    Config$ProfileEntry profile = this.getSelectedProfile();
    Config$VersionEntry version = (Config$VersionEntry)profile.versions.get(profile.version);

    if (version == null) {
      version = new Config$VersionEntry();
      profile.versions.put(profile.version, version);
    }

    return version;
  }
View Full Code Here

Examples of org.rioproject.entry.VersionEntry

        List<Entry> attributes = new ArrayList<Entry>();
        attributes.add(new Name("foo"));
        attributes.add(new OperationalStringEntry("bar"));
        if(versions!=null) {
            for(String version : versions)
                attributes.add(new VersionEntry(version));
        }
        return new ServiceItem(sid, new Object(), attributes.toArray(new Entry[attributes.size()]));
    }
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.