Package org.webmacro.resource

What's in this directory: -- Classes that relate to resources made available in the WebMacro system.

See:
          Description

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.
TemplateLoader Interface for template loaders.
TemplateLoaderFactory Interface for template loader factories.
 

Class Summary
AbstractTemplateLoader Abstract implementation of TemplateLoader, that stores broker and path and provides a ReloadDelayDecorator and a common log object.
BrokerTemplateLoader  
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.
ClassPathTemplateLoader Implementation of TemplateLoader that loads template from the classpath.
ConfigProvider A very simple provider which simply takes the config information passed to it by the broker and returns it.
DefaultTemplateLoaderFactory Default implementation of TemplateLoaderFactory interface.
DelegatingTemplateProvider Alternative implementation of a TemplateProvider that uses TemplateLoaders to do the actual work.
FileTemplateLoader Implementation of TemplateLoader that loads templates from a given directory.
GenerationalCacheManager An implementation of CacheManager which uses the "VFC" cache manager from Acctiva and Open Doors Software.
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.
ServletContextTemplateLoader Implementation of TemplateLoader that loads template from web-apps.
SMapCacheManager  
StaticIdentityCacheManager  
StaticSMapCacheManager  
TemplateLoaderHelper Helper class for template loaders to actuall load a Template.
TemplatePathTemplateLoader Implementation of TemplateLoader that loads templates from a list of paths specified in the TemplatePath setting.
TemplateProvider The TemplateProvider is the WebMacro class responsible for loading templates.
TemplateProvider.FTReloadContext ReloadContext for file 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
 

Package org.webmacro.resource Description

What's in this directory: -- Classes that relate to resources made available in the WebMacro system. These classes are modules implemented under the com.semiotek.util.ResourceBroker architecture. You will find database modules, user databases, and other facilities here. As a user of these classes you will be most interested in these classes: All of them. They are all available to you for use via the WebMacro resource broker.