Package org.apache.tapestry5.internal.services

# Interface ReloadHelper

All Known Implementing Classes:
  `ReloadHelperImpl`

public interface ReloadHelper
Forces a reload of all caches and invalidates the component class cache. This is only allowed when production mode is off.

Since:
  5.4

- ## Method Summary

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

- ## Method Details

  - ### forceReload

    void forceReload()
    Force a reload (if in development mode). Writes an `AlertManager` alert message.

  - ### addReloadCallback

    void addReloadCallback(Runnable callback)
    Adds a callback to be invoked from `forceReload()`.
    Parameters:
      `callback` -