org.apache.tapestry5.services

## Interface InvalidationListener

- All Known Implementing Classes:
    ComponentClassResolverImpl

  Deprecated.
  In 5.4; use `InvalidationEventHub.addInvalidationCallback(Runnable)` instead

      public interface InvalidationListener

  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 and 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.

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.