Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.0.0)
E17488-01


oracle.adf.view.rich.monitoring
Class ExecutionContextProvider

java.lang.Object
  extended by oracle.adf.view.rich.monitoring.ExecutionContextProvider


public abstract class ExecutionContextProvider
extends java.lang.Object

This class provides an ExecutionContext. An ExecutionContext contains information that is relevant to a chunk of work currently being executed in the system. An ExecutionContext is typically associated to each thread acting on behalf of a user request into the system.


Nested Class Summary
 class ExecutionContextProvider.ExecutionContext
          The ExecutionContext provides the interface to associate a unique context with each thread, and to propagate the contents of the context amongst threads and processes.

 

Constructor Summary
protected ExecutionContextProvider()
          Creates an ExecutionContextProvider

 

Method Summary
abstract  ExecutionContextProvider.ExecutionContext getExecutionContext()
          Returns the ExecutionContext associated with the current thread (request).
abstract  java.lang.String getRequestParameterName()
          Deprecated. use ExecutionContext getRequestParameterName() method.
 boolean isProviderEnabled()
          Returns whether a context provider service is enabled.The default implementation returns false, so subclasses will need to override this method to explicitly turn provider on.

 

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

 

Constructor Detail

ExecutionContextProvider

protected ExecutionContextProvider()
Creates an ExecutionContextProvider

Method Detail

getExecutionContext

public abstract ExecutionContextProvider.ExecutionContext getExecutionContext()
Returns the ExecutionContext associated with the current thread (request).

getRequestParameterName

public abstract java.lang.String getRequestParameterName()
Deprecated. use ExecutionContext getRequestParameterName() method.
Retrieves the key to be used to propagate the serialized context between processes.
Returns:
a String parameter name. used to propagate the serialized context.

isProviderEnabled

public boolean isProviderEnabled()
Returns whether a context provider service is enabled.The default implementation returns false, so subclasses will need to override this method to explicitly turn provider on.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.0.0)
E17488-01


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