Class ReloadHelperImpl
-
- org.apache.tapestry5.internal.services.ReloadHelperImpl
-
- All Implemented Interfaces:
ReloadHelper
public class ReloadHelperImpl extends implements ReloadHelper
-
-
Constructor Summary
Constructors Constructor Description ReloadHelperImpl(AlertManager alertManager, boolean productionMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callback)
Adds a callback to be invoked fromReloadHelper.forceReload()
.void
forceReload()
Force a reload (if in development mode).
-
-
-
Constructor Detail
-
ReloadHelperImpl
public ReloadHelperImpl(AlertManager alertManager, @Symbol("tapestry.production-mode") boolean productionMode)
-
-
Method Detail
-
forceReload
public void forceReload()
Description copied from interface:ReloadHelper
Force a reload (if in development mode). Writes anAlertManager
alert message.- Specified by:
forceReload
in interfaceReloadHelper
-
addReloadCallback
public void callback)
Description copied from interface:ReloadHelper
Adds a callback to be invoked fromReloadHelper.forceReload()
.- Specified by:
addReloadCallback
in interfaceReloadHelper
-
-