|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.services.PageSourceImpl
public class PageSourceImpl
Constructor Summary | |
---|---|
PageSourceImpl(PageLoader pageLoader,
ComponentRequestSelectorAnalyzer selectorAnalyzer)
|
Method Summary | |
---|---|
void |
clearCache()
Clears the source's cache of loaded pages. |
Set<Page> |
getAllPages()
Returns all currently loaded pages. |
Page |
getPage(String canonicalPageName)
Returns a loaded instance of the indicated page, using the Locale and other information from the ComponentResourceSelector obtained from the ComponentRequestSelectorAnalyzer . |
void |
objectWasInvalidated()
Invoked to indicate that some object is invalid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageSourceImpl(PageLoader pageLoader, ComponentRequestSelectorAnalyzer selectorAnalyzer)
Method Detail |
---|
public void objectWasInvalidated()
InvalidationListener
objectWasInvalidated
in interface InvalidationListener
public Page getPage(String canonicalPageName)
PageSource
ComponentResourceSelector
obtained from the ComponentRequestSelectorAnalyzer
.
getPage
in interface PageSource
public void clearCache()
PageSource
DynamicTemplate
, but the
underlying Resource
is noticed to have changed.
clearCache
in interface PageSource
public Set<Page> getAllPages()
PageSource
ComponentResourceSelector
s. This is needed
for reporting purposes only.
getAllPages
in interface PageSource
PageCatalog
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |