org.apache.cocoon.cache
Class NoCache

java.lang.Object
  |
  +--org.apache.cocoon.framework.AbstractActor
        |
        +--org.apache.cocoon.cache.NoCache

public class NoCache
extends AbstractActor
implements Cache, Status

A caching implementation that doesn't cache anything :).

Version:
$Revision: 1.3 $Date: 1999/09/13 00:24:03 $
Author:
Stefano Mazzocchi

Fields inherited from class org.apache.cocoon.framework.AbstractActor
director
 
Constructor Summary
NoCache()
           
 
Method Summary
 Page getPage(javax.servlet.http.HttpServletRequest request)
          It returns null if no page is available.
 java.lang.String getStatus()
          Returns information about the status of the implementing class.
 void setPage(Page page, javax.servlet.http.HttpServletRequest request)
          Sets the page into the cache system using data from the request object for indexing.
 
Methods inherited from class org.apache.cocoon.framework.AbstractActor
init
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

NoCache

public NoCache()
Method Detail

getPage

public Page getPage(javax.servlet.http.HttpServletRequest request)
Description copied from interface: Cache
It returns null if no page is available.
Specified by:
getPage in interface Cache

setPage

public void setPage(Page page,
                    javax.servlet.http.HttpServletRequest request)
Description copied from interface: Cache
Sets the page into the cache system using data from the request object for indexing.
Specified by:
setPage in interface Cache

getStatus

public java.lang.String getStatus()
Description copied from interface: Status
Returns information about the status of the implementing class. Note: this is use instead of the usual toString() method because some of these methods are declared final in some classes in JDK 1.1.
Specified by:
getStatus in interface Status


Copyright 1999 Java Apache Project. All Rights Reserved.