public class RepositoryWatcher extends Object implements Runnable
A service that watches for modified/deleted files in a Site's www-directory (see
SiteProperties.WWW_DIR) using a WatchService.
SiteProperties.EHCACHE_ENABLED), cache entries for the
modified/deleted files are removed from the cache. Since there could be some forwarding rules defined in the site's
urlrewrite.xml, it is also necessary to parse these rules and remove the 'aliases' from the cache.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RULE_SUFFIX |
| Constructor and Description |
|---|
RepositoryWatcher(Site site,
String jspExtension,
String ruleSourceSuffix) |
public static final String DEFAULT_RULE_SUFFIX
Copyright © 2011–2018 aiticon GmbH. All rights reserved.