Class ViewEntry
java.lang.Object
org.apache.myfaces.view.facelets.pool.ViewEntry
- Direct Known Subclasses:
SoftViewEntry
,WeakViewEntry
- Author:
- Leonardo Uribe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
activate()
Execute all necessary steps to ensure further calls to getViewRoot() and getViewState() will return valid values.abstract RestoreViewFromPoolResult
abstract UIViewRoot
abstract void
setResult
(RestoreViewFromPoolResult result)
-
Constructor Details
-
ViewEntry
public ViewEntry()
-
-
Method Details
-
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
- Returns:
- the result
-
setResult
- Parameters:
result
- the result to set
-