void clearCache()Clears the source's cache of loaded pages. This occurs when an outside change to the world invalidates created page instances. Introduced to handle the case where a page has a
DynamicTemplate, but the underlying
Resourceis noticed to have changed.
getPageReturns a loaded instance of the indicated page, using the Locale and other information from the
ComponentResourceSelectorobtained from the
- existing, or newly created, page instance
Set<Page> getAllPages()Returns all currently loaded pages. This will include any previously loaded pages not yet reclaimed by the garbage collector, and may include the same page loaded for different
ComponentResourceSelectors. This is needed for reporting purposes only.
- See Also: