|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--de.neteye.actioncache.ActionCachePlugIn
| Field Summary | |
static java.lang.String |
CACHE
|
| Constructor Summary | |
ActionCachePlugIn()
|
|
| Method Summary | |
void |
destroy()
Persists the cache on shutdown. |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
Initializes the cache. |
void |
setCacheDir(java.lang.String cacheDir)
Sets the absolute path to the directory where the cached content is stored. |
void |
setCapacity(int capacity)
Sets the maximum number of elements that will be cached. |
void |
setContextRelative(boolean contextRelative)
Sets whether the cacheDir should be resolved relative to the servlet context. |
void |
setProcessorClass(java.lang.String className)
Applications that need to use a custom RequestProcessor can specify the implementing class here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CACHE
| Constructor Detail |
public ActionCachePlugIn()
| Method Detail |
public void setCapacity(int capacity)
public void setCacheDir(java.lang.String cacheDir)
public void setContextRelative(boolean contextRelative)
public void setProcessorClass(java.lang.String className)
de.neteye.actioncache.TilesCacheRequestProcessor
that supports Tiles.
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
throws javax.servlet.ServletException
init in interface org.apache.struts.action.PlugInjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface org.apache.struts.action.PlugIn
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||