Package org.webmacro.resource

Interface Summary
CacheManager The CacheManager sits between the template provider and WM.
ResourceLoader Methods to be implemented by a resource loader, which will work with a cache manager.
 

Class Summary
BrokerTemplateProvider The BrokerTemplateProvider loads templates through Broker.getResource().
BrokerTemplateProviderHelper This class does the actual work of retrieving templates using the Broker.
CacheElement CacheElement is an abstract class which cache managers can subclass.
CacheReloadContext CacheReloadContext provides support for providers which support cache invalidation on a per-element basis, for example if an underlying resource has changed.
CachingProvider CacheManager is an abstract base class for providers which wish to implement caching functionality.
ConfigProvider A very simple provider which simply takes the config information passed to it by the broker and returns it.
GenerationalCacheManager The GenerationalCacheManager implements the CacheManager interface for WebMacro providers which extend the CachingProvider base class.
HMapCacheManager  
ReloadDelayDecorator Utility class to handle creation of TimedReloadContext.
TimedReloadContext objects are used to prevent a cached resource of being checked for modification all the time, but only checks for in given intervals.
SMapCacheManager  
StaticIdentityCacheManager  
StaticSMapCacheManager  
TemplateProvider The TemplateProvider is the WebMacro class responsible for loading templates.
TimedReloadContext TimedReloadContext acts as an Decorator for Reload context to support cache resources that are expensive to check for change.
TrivialCacheManager  
UrlProvider This is the canonical provider for mapping URLs to Handlers.
URLTemplate FileTemplate objects read their template data from a text file.
URLTemplateProvider This is a "drop-in" replacement for the standard TemplateProvider in the WebMacro distribution.
 

Exception Summary
InvalidResourceException Resource exists but could not be loaded for some reason