Class SuspendCallback

  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
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


public SuspendCallback()
Method Detail


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

change - The change to consider suspending
enumeration specifying how far to suspend to

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