Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.provider.dms
Class ExecutionContextProvider

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.provider.dms.ExecutionContextProvider

public class ExecutionContextProvider
extends java.lang.Object

Provides API for DMS ExecutionContext related activites

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/provider/dms/ExecutionContextProvider.java /main/1 2009/05/07 17:57:21 ppradhan Exp $
Author:
ppradhan

Constructor Summary
ExecutionContextProvider()
           
 
Method Summary
static void activate(java.lang.Object pExecutionContextKey)
          Activates a previously stashed execution context.
static void deactivate()
          Deactives the currently active ExecutionContext (if any).
static void stash(java.lang.Object pExecutionContextKey)
          Stashes a child execution context for the current execution context for use in a child thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionContextProvider

public ExecutionContextProvider()
Method Detail

stash

public static void stash(java.lang.Object pExecutionContextKey)
Stashes a child execution context for the current execution context for use in a child thread.

Parameters:
pExecutionContextKey - - the key used to stash the child execution context

activate

public static void activate(java.lang.Object pExecutionContextKey)
Activates a previously stashed execution context. This API should be called from the child thread in a thread pool.

Parameters:
pExecutionContextKey - - the key that was used to stash the child execution context from the parent thread.

deactivate

public static void deactivate()
Deactives the currently active ExecutionContext (if any). Should be called from any child threads at time of exiting from the thread.


Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.