public interface RequestPageCache
Page
is internal, most user-code should use the
ComponentSource
service instead.
Starting in 5.2, page instances are shared (with externalized mutable state), not pooled, but the cache is still
useful for managing the page's lifecycle.Modifier and Type | Method and Description |
---|---|
Page |
get(String pageName)
Gets the page via its page name, in the current locale.
|
Page get(String pageName)
pageName
- the name of the page to retrieve (this is the logical page name, not the fully qualified class
name)IllegalArgumentException
- if the name can not be resolved to a page instance5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.