@Scope(value="perthread") public class NonPoolingRequestPageCacheImpl extends Object implements RequestPageCache, ThreadCleanupListener
Constructor and Description |
---|
NonPoolingRequestPageCacheImpl(org.slf4j.Logger logger,
ComponentClassResolver resolver,
PageSource pageSource) |
Modifier and Type | Method and Description |
---|---|
Page |
get(String pageName)
Gets the page via its page name, in the current locale.
|
void |
listenForThreadCleanup(PerthreadManager perthreadManager) |
void |
threadDidCleanup()
Invoked by
PerthreadManager service when a thread performs and
end-of-request cleanup. |
public NonPoolingRequestPageCacheImpl(org.slf4j.Logger logger, ComponentClassResolver resolver, PageSource pageSource)
@PostInjection public void listenForThreadCleanup(PerthreadManager perthreadManager)
public void threadDidCleanup()
ThreadCleanupListener
PerthreadManager
service when a thread performs and
end-of-request cleanup.threadDidCleanup
in interface ThreadCleanupListener
public Page get(String pageName)
RequestPageCache
get
in interface RequestPageCache
pageName
- the name of the page to retrieve (this is the logical page name, not the fully qualified class
name)Copyright © 2003-2012 The Apache Software Foundation.