示例#1
0
  private void _unregisterDir(String name) {
    AutoDeployDir autoDeployDir = _autoDeployDirs.remove(name);

    if (autoDeployDir != null) {
      autoDeployDir.stop();
    }
  }
示例#2
0
  private void _registerDir(AutoDeployDir autoDeployDir) {
    _autoDeployDirs.put(autoDeployDir.getName(), autoDeployDir);

    autoDeployDir.start();
  }