Package com.caucho.vfs

Examples of com.caucho.vfs.Depend


  /**
   * Add a dependency.
   */
  public void addDepend(Path path)
  {
    addDependency(new Depend(path));
  }
View Full Code Here


    for (int i = 0; i < _depends.size(); i++) {
      Path path = _depends.get(i);
     
      if (path.canRead() && ! path.isDirectory()) {
        Depend depend = new Depend(path);
        print("addDepend(new com.caucho.vfs.Depend(pwd.lookup(\"");
        printString(path.getRelativePath());
        println("\"), " + depend.getDigest() + "L));");
      }
    }

    println("stylesheets = new StylesheetEnv[" + _stylesheets.size() + "];");
    println("StylesheetEnv env;");
View Full Code Here

    if (_depend != null && !_depend.isModified())
      return;

    try {
      _depend = new Depend(_path);

      _isError = true;

      MatchRule matchRule = new MatchRule(getRewriteDispatch());
      matchRule.setPassFilterChainMapper(getPassFilterChainMapper());
View Full Code Here

    }

    _lifecycle = new Lifecycle(log, toString(), Level.INFO);

    if (_controller != null && _controller.getArchivePath() != null)
      Environment.addDependency(new Depend(_controller.getArchivePath()), _loader);

    _localEApp.set(this, _loader);
  }
View Full Code Here

      _depends.add(path);

      if (_dependList == null)
        _dependList = new ArrayList<Depend>();

      _dependList.add(new Depend(path));
    }
  }
View Full Code Here

  {
    if (_dependList == null)
      return false;

    for (int i = 0; i < _dependList.size(); i++) {
      Depend depend = _dependList.get(i);

      if (depend.isModified())
        return true;
    }

    return false;
  }
View Full Code Here

      return;
   
    synchronized (this) {
      try {
        _lastCheck = Alarm.getCurrentTime();
        _depend = new Depend(_path);

        if (log.isLoggable(Level.FINE))
          log.fine(this + " loading users from " + _path);
     
        _userMap = new Hashtable<String,PasswordUser>();
View Full Code Here

  {
    _depend = new DependencyContainer();
    _depend.setCheckInterval(_dependencyCheckInterval);
   
    if (getArchivePath() != null)
      _depend.add(new Depend(getArchivePath()));

    String value = _repositorySpi.getTagContentHash(getId());
    _depend.add(new RepositoryDependency(getId(), value));
   
    value = _repositorySpi.getTagContentHash(getAutoDeployTag());
View Full Code Here

      String realPath = webApp.getRealPath(contextURI + "/" + file);

      Path path = webApp.getRootDirectory().lookup(realPath);

      dependencyList.add(new Depend(path));
    }

    dependencyList.clearModified();

    invocation.setDependency(dependencyList);
View Full Code Here

    if (_path == null)
      return;
   
    try {
      _lastCheck = Alarm.getCurrentTime();
      _depend = new Depend(_path);

      if (log.isLoggable(Level.FINE))
        log.fine(this + " loading users from " + _path);
     
      _userMap = new Hashtable<String,PasswordUser>();
View Full Code Here

TOP

Related Classes of com.caucho.vfs.Depend

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.