org.salespointframework.core
Class SaleProcess.SubProcess

java.lang.Object
  extended by java.lang.Thread
      extended by org.salespointframework.core.SaleProcess.SubProcess
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SaleProcess

private class SaleProcess.SubProcess
extends java.lang.Thread

A thread providing an exception firewall for all subprocesses of a process.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  SaleProcess m_pParent
          The parent process.
private  java.lang.Runnable m_rSubProcess
          The activity to be guarded by the exception firewall.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SaleProcess.SubProcess(java.lang.String sName, SaleProcess pParent, java.lang.Runnable rSubProcess)
          Create a new subprocess.
 
Method Summary
 void run()
          The exception firewall.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_rSubProcess

private java.lang.Runnable m_rSubProcess
The activity to be guarded by the exception firewall.


m_pParent

private SaleProcess m_pParent
The parent process.

Constructor Detail

SaleProcess.SubProcess

public SaleProcess.SubProcess(java.lang.String sName,
                              SaleProcess pParent,
                              java.lang.Runnable rSubProcess)
Create a new subprocess.

Method Detail

run

public void run()
The exception firewall.

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