Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-03


oracle.adf.view.rich.context
Class ApplicationContextChange

java.lang.Object
  extended by oracle.adf.view.rich.context.ApplicationContextChange

Direct Known Subclasses:
DoableContextChange

public abstract class ApplicationContextChange
extends java.lang.Object

ApplicationContextChange represents a change to the runtime context of an ADF application.

The active lifespan of an ApplicationContextChange begins when it is pushed using ApplicationContextManager.pushContextChange(ApplicationContextChange) and ends when it is popped using ApplicationContextManager.popContextChange(). Between these two point in time the context change may be suspended and resumed any number of times.


Constructor Summary
ApplicationContextChange()
           

 

Method Summary
abstract  void resume(javax.faces.context.FacesContext context)
          Resume a currently suspended context change.
abstract  void suspend(javax.faces.context.FacesContext context)
          Suspend the context change and revert back to the application context that existed before this context change was originally made.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ApplicationContextChange

public ApplicationContextChange()

Method Detail

suspend

public abstract void suspend(javax.faces.context.FacesContext context)
                      throws java.lang.IllegalStateException
Suspend the context change and revert back to the application context that existed before this context change was originally made.

It's only valid to suspend a context change that's currently active. The implementation of this method does not need to support a call to suspend a context change that's already suspended.

Parameters:
context - the FacesContext for the current request.
Throws:
java.lang.IllegalStateException - if the context change is already suspended.

resume

public abstract void resume(javax.faces.context.FacesContext context)
                     throws java.lang.IllegalStateException
Resume a currently suspended context change.
Parameters:
context - the FacesContextfor the current request.
Throws:
java.lang.IllegalStateException - if the context change is not currently suspended.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-03


Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.