| A
TemplateLoader that uses a set of other loaders to load the templates.
On every request, loaders are queried in the order of their appearance in the
array of loaders that this Loader owns. If a request for some template name
was already satisfied in the past by one of the loaders, that Loader is queried
first (a soft affinity).
This class is NOT thread-safe. If it is accessed from multiple
threads concurrently, proper synchronization must be provided by the callers.
Note that
TemplateCache , the natural user of this class provides the
necessary synchronizations when it uses the class.
author: Attila Szegedi, szegedia at freemail dot hu version: $Id: MultiTemplateLoader.java,v 1.12.2.2 2007/04/04 07:51:16 szegedia Exp $ |