org.apache.myfaces.view.facelets.pool.impl
Class SoftViewEntry

java.lang.Object
  extended by org.apache.myfaces.view.facelets.pool.ViewEntry
      extended by org.apache.myfaces.view.facelets.pool.impl.SoftViewEntry

public class SoftViewEntry
extends ViewEntry

Author:
Leonardo Uribe

Constructor Summary
SoftViewEntry(UIViewRoot viewRoot)
           
 
Method Summary
 boolean activate()
          Execute all necessary steps to ensure further calls to getViewRoot() and getViewState() will return valid values.
 RestoreViewFromPoolResult getResult()
           
 UIViewRoot getViewRoot()
           
 void setResult(RestoreViewFromPoolResult result)
           
 void setViewRoot(UIViewRoot viewRoot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftViewEntry

public SoftViewEntry(UIViewRoot viewRoot)
Method Detail

activate

public boolean activate()
Description copied from class: ViewEntry
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

Specified by:
activate in class ViewEntry

getViewRoot

public UIViewRoot getViewRoot()
Specified by:
getViewRoot in class ViewEntry
Returns:
the viewRoot

setViewRoot

public void setViewRoot(UIViewRoot viewRoot)
Parameters:
viewRoot - the viewRoot to set

getResult

public RestoreViewFromPoolResult getResult()
Specified by:
getResult in class ViewEntry
Returns:
the result

setResult

public void setResult(RestoreViewFromPoolResult result)
Specified by:
setResult in class ViewEntry
Parameters:
result - the result to set


Copyright © 2015 The Apache Software Foundation. All rights reserved.