Package com.caucho.server.deploy

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


  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

TOP

Related Classes of com.caucho.server.deploy.VersionEntry

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.