Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.trees.ui.managed
Class AuditThread

java.lang.Object
  extended by java.lang.Thread
      extended by oracle.apps.fnd.applcore.trees.ui.managed.CommonTreeThread
          extended by oracle.apps.fnd.applcore.trees.ui.managed.AuditThread
All Implemented Interfaces:
java.lang.Runnable, java.util.EventListener, ValidatorListener

public class AuditThread
extends CommonTreeThread
implements ValidatorListener

This class is used to fork a thread. Here we are calling the Modeler code as a seperate thread as we do not want the backend processing to delay the coming up of the popup.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.trees.ui.managed.CommonTreeThread
_adfFacesContext, _context, _messageMap, _pageFlowScopeMap, _sessionCookie, _sessionId, POLL_STATUS_CONFIRM, POLL_STATUS_ERROR, POLL_STATUS_PROCESS, POLL_STATUS_WARN
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AuditThread(java.lang.Object context, java.lang.String sessionId, java.lang.String sessionCookie, oracle.adf.view.rich.context.AdfFacesContext adffacescontext, javax.faces.context.FacesContext facesContext, java.util.Map<java.lang.String,java.lang.Object> pgFlowScopeMap, oracle.dms.instrument.Noun treesNoun, oracle.dms.instrument.PhaseEvent treeOnlineAudit, oracle.dms.instrument.State treeNumOfNodesForOnlineAudit)
          Audit thread constructor.
 
Method Summary
 void run()
          This method is used to call the Modeler code.
 void validatorFinished(ValidatorEvent e)
          Invoked after the validator has finished building the model.
 void validatorInterrupted(ValidatorEvent e, java.lang.Throwable cause)
          Invoked after the validator has been interruped, mostly likely due to an error.
 void validatorStarting(ValidatorEvent e)
          Invoked when the validator is about start building the model.
 
Methods inherited from class oracle.apps.fnd.applcore.trees.ui.managed.CommonTreeThread
checkAndGetFromMap, getTransMessage
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuditThread

public AuditThread(java.lang.Object context,
                   java.lang.String sessionId,
                   java.lang.String sessionCookie,
                   oracle.adf.view.rich.context.AdfFacesContext adffacescontext,
                   javax.faces.context.FacesContext facesContext,
                   java.util.Map<java.lang.String,java.lang.Object> pgFlowScopeMap,
                   oracle.dms.instrument.Noun treesNoun,
                   oracle.dms.instrument.PhaseEvent treeOnlineAudit,
                   oracle.dms.instrument.State treeNumOfNodesForOnlineAudit)
Audit thread constructor.

Parameters:
context - Context
sessionId - session Id
sessionCookie - sessionCookie
adffacescontext - Adffacescontext
pgFlowScopeMap - pageflowscopemap
Method Detail

validatorStarting

public void validatorStarting(ValidatorEvent e)
Invoked when the validator is about start building the model.

Specified by:
validatorStarting in interface ValidatorListener
Parameters:
e - the validator event.

validatorFinished

public void validatorFinished(ValidatorEvent e)
Invoked after the validator has finished building the model.

Specified by:
validatorFinished in interface ValidatorListener
Parameters:
e - the validator event

validatorInterrupted

public void validatorInterrupted(ValidatorEvent e,
                                 java.lang.Throwable cause)
Invoked after the validator has been interruped, mostly likely due to an error.

Specified by:
validatorInterrupted in interface ValidatorListener
Parameters:
e - the validator event
cause - the reason why the modeler has been interrupted; null if the cause is unknown

run

public void run()
This method is used to call the Modeler code. The forked out thread calls the generic method for Audit hierarchy.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.