Package org.apache.tapestry5.commons.services

## Interface InvalidationListener

- All Known Implementing Classes:
    `ComponentClassResolverImpl`

      public interface InvalidationListener

  Deprecated.
  In 5.4; use `InvalidationEventHub.addInvalidationCallback(Runnable)` instead
  Interface for objects that may cache information that can be invalidated. Invalidation occurs when external files, from which in-memory data is cached, is determined to have changed. Granularity is very limited; when any external file is found to have changed, the event is fired (with the expectation that the cleared cache will be repopulated as necessary).
  Since:
    5.1.0.0
  See Also:
    `InvalidationEventHub`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `objectWasInvalidated()` | Deprecated. Invoked to indicate that some object is invalid.

- - ### Method Detail

    - #### objectWasInvalidated

          void objectWasInvalidated()

      Deprecated.
      Invoked to indicate that some object is invalid. The receiver should clear its cache.