if(expireCacheAutomaticallyString != null)
expireCacheAutomatically = Boolean.parseBoolean(expireCacheAutomaticallyString);
if(expireCacheAutomatically)
{
CacheController cacheController = new CacheController();
cacheController.setExpireCacheAutomatically(expireCacheAutomatically);
String intervalString = CmsPropertyHandler.getCacheExpireInterval();
if(intervalString != null)
cacheController.setCacheExpireInterval(Integer.parseInt(intervalString));
if(cacheController.getExpireCacheAutomatically())
cacheController.start();
}
new Thread(new Runnable() { public void run() {try {CacheController.preCacheCMSEntities();} catch (Exception e) {}}}).start();
System.out.println("Starting deliver instance monitoring");