|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 InvalidationListenerpublic Page getPage(String canonicalPageName)
PageSourceComponentResourceSelector obtained from the ComponentRequestSelectorAnalyzer.
getPage in interface PageSourcepublic void clearCache()
PageSourceDynamicTemplate, but the
underlying Resource is noticed to have changed.
clearCache in interface PageSourcepublic Set<Page> getAllPages()
PageSourceComponentResourceSelectors. This is needed
for reporting purposes only.
getAllPages in interface PageSourcePageCatalog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||