Package org.apache.tapestry5.internal.services

# Class ReloadHelperImpl

java.lang.Object
org.apache.tapestry5.internal.services.ReloadHelperImpl

All Implemented Interfaces:
  `ReloadHelper`

public class ReloadHelperImpl extends Object implements ReloadHelper

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ReloadHelperImpl(AlertManager alertManager, boolean productionMode)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addReloadCallback(Runnable callback)`
  Adds a callback to be invoked from `ReloadHelper.forceReload()`.
  `void`
  `forceReload()`
  Force a reload (if in development mode).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ReloadHelperImpl

    public ReloadHelperImpl(AlertManager alertManager, @Symbol("tapestry.production-mode") boolean productionMode)

- ## Method Details

  - ### forceReload

    public void forceReload()
    Description copied from interface: `ReloadHelper`
    Force a reload (if in development mode). Writes an `AlertManager` alert message.
    Specified by:
      `forceReload` in interface `ReloadHelper`

  - ### addReloadCallback

    public void addReloadCallback(Runnable callback)
    Description copied from interface: `ReloadHelper`
    Adds a callback to be invoked from `ReloadHelper.forceReload()`.
    Specified by:
      `addReloadCallback` in interface `ReloadHelper`