String type = event.getType(); if (Lifecycle.PERIODIC_EVENT.equals(type)) { contextListener.checkHost(standardHost);
final String type = event.getType(); if (Lifecycle.PERIODIC_EVENT.equals(type)) { contextListener.checkHost(standardHost); } else if (Lifecycle.AFTER_START_EVENT.equals(type) && REMOTE_SUPPORT) { final TomEERemoteWebapp child = new TomEERemoteWebapp();