Class ViewEntry
- java.lang.Object
-
- org.apache.myfaces.view.facelets.pool.ViewEntry
-
- Direct Known Subclasses:
SoftViewEntry,WeakViewEntry
public abstract class ViewEntry extends Object
- Author:
- Leonardo Uribe
-
-
Constructor Summary
Constructors Constructor Description ViewEntry()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanactivate()Execute all necessary steps to ensure further calls to getViewRoot() and getViewState() will return valid values.abstract RestoreViewFromPoolResultgetResult()abstract UIViewRootgetViewRoot()abstract voidsetResult(RestoreViewFromPoolResult result)
-
-
-
Method Detail
-
getViewRoot
public abstract UIViewRoot getViewRoot()
- Returns:
- the viewRoot
-
activate
public abstract boolean activate()
Execute all necessary steps to ensure further calls to getViewRoot() and getViewState() will return valid values. It returns true or false if the Entry is still active or not
-
getResult
public abstract RestoreViewFromPoolResult getResult()
- Returns:
- the result
-
setResult
public abstract void setResult(RestoreViewFromPoolResult result)
- Parameters:
result- the result to set
-
-