|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.jboss.seam.ui.component.UICache
org.jboss.seam.ui.component.html.HtmlCache
public class HtmlCache
Component-Type org.jboss.seam.ui.Cache Component-Family org.jboss.seam.ui.Cache Renderer-Type org.jboss.seam.ui.CacheRenderer Cache the rendered page fragment using JBoss Cache. Note that <s:cache> actually uses the instance of JBoss Cache managed by the built-in pojoCache component.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
HtmlCache()
Constructor to init default renderers |
|
| Method Summary | |
|---|---|
java.lang.String |
getFamily()
|
java.lang.String |
getKey()
the key to cache rendered content, often a value expression. |
java.lang.String |
getRegion()
a JBoss Cache node to use (different nodes can have different expiry policies). |
boolean |
isEnabled()
a value expression that determines if the cache should be used. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setEnabled(boolean __enabled)
a value expression that determines if the cache should be used. |
void |
setKey(java.lang.String __key)
the key to cache rendered content, often a value expression. |
void |
setRegion(java.lang.String __region)
a JBoss Cache node to use (different nodes can have different expiry policies). |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| 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 COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
| Constructor Detail |
|---|
public HtmlCache()
| Method Detail |
|---|
public void setEnabled(boolean __enabled)
setEnabled in class UICacheenabled - - new valuepublic boolean isEnabled()
isEnabled in class UICachepublic void setKey(java.lang.String __key)
setKey in class UICachekey - - new valuepublic java.lang.String getKey()
getKey in class UICachepublic void setRegion(java.lang.String __region)
setRegion in class UICacheregion - - new valuepublic java.lang.String getRegion()
getRegion in class UICachepublic java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||