org.apache.myfaces.trinidad.context
Class SuspendCallback

java.lang.Object
  extended by org.apache.myfaces.trinidad.context.SuspendCallback

public abstract class SuspendCallback
extends Object

Class to use with ComponentContextManager.partialSuspend(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.context.SuspendCallback) to control how far into the context change stack to suspend to. This is useful for components that need to suspend to a certain point in the change stack, but not the entire stack.


Nested Class Summary
static class SuspendCallback.SuspendResult
          Return value for the getSuspendResult(ComponentContextChange) function to specify when to stop suspending the context change stack.
 
Constructor Summary
SuspendCallback()
           
 
Method Summary
abstract  SuspendCallback.SuspendResult getSuspendResult(ComponentContextChange change)
          Determine how suspension should behave with regards to partial suspension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuspendCallback

public SuspendCallback()
Method Detail

getSuspendResult

public abstract SuspendCallback.SuspendResult getSuspendResult(ComponentContextChange change)
Determine how suspension should behave with regards to partial suspension.

Parameters:
change - The change to consider suspending
Returns:
enumeration specifying how far to suspend to


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.