org.apache.tapestry5.services
Interface InvalidationListener

All Known Implementing Classes:
ApplicationMessageCatalogObjectProvider, ComponentClassCacheImpl, ComponentClassResolverImpl, ComponentInstantiatorSourceImpl, DefaultDataTypeAnalyzer, MetaDataLocatorImpl, PageActivationContextCollectorImpl, PageLoaderImpl, PageSourceImpl, PropertyConduitSourceImpl, ResourceDigestManagerImpl, SRSCachingInterceptor, SRSCompressedCachingInterceptor, StackAssetRequestHandler, StringInternerImpl, TranslatorSourceImpl, ValueEncoderSourceImpl

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
 void objectWasInvalidated()
          Invoked to indicate that some object is invalid.
 

Method Detail

objectWasInvalidated

void objectWasInvalidated()
Invoked to indicate that some object is invalid. The receiver should clear its cache.



Copyright © 2003-2012 The Apache Software Foundation.