org.jboss.seam.ui
Class RenderStampStore
java.lang.Object
org.jboss.seam.ui.RenderStampStore
- All Implemented Interfaces:
- Serializable
@Name(value="org.jboss.seam.ui.renderStampStore")
@Scope(value=SESSION)
@Install(precedence=0,
value=false)
@AutoCreate
@BypassInterceptors
public class RenderStampStore
- extends Object
- implements Serializable
A class that stores render stamps for use with <s:token> when client side
state saving is in use. By default the render stamp store will never remove a
render stamp unless instructed to by a UIToken. If the maxSize property is
larger than zero then it will control the maximum number of tokens stored,
with the oldest token being removed when a token is inserted that will take
the store over the maxSize limit. The default maxSize is 100.
- Author:
- Stuart Douglas
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderStampStore
public RenderStampStore()
storeStamp
public String storeStamp(String stamp)
- Stores a stamp in the store, and returns the key it is stored under.
removeStamp
public void removeStamp(String viewSigniture)
getStamp
public String getStamp(String viewSigniture)
instance
public static RenderStampStore instance()
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int maxSize)
Copyright © 2011 Seam Framework. All Rights Reserved.