Package io.keikai.jsf.ui.impl
Class ObjectHolder
- java.lang.Object
-
- io.keikai.jsf.ui.impl.ObjectHolderContext
-
- io.keikai.jsf.ui.impl.ObjectHolder
-
- All Implemented Interfaces:
Serializable
public class ObjectHolder extends ObjectHolderContext implements Serializable
the object holder to hold object for a while, and remove timeout object when someonekick()
it.- Author:
- Dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectHolder(javax.servlet.http.HttpSession session, int millisecondToKick)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String objectId)
Gets the object with given idvoid
kick()
Kick this holder to remove timeout objectvoid
put(String objectId, Object object)
Puts the object with given id-
Methods inherited from class io.keikai.jsf.ui.impl.ObjectHolderContext
getObjectIfAny, hasHolder, putObject, removeHolder, setHolder
-
-