Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.arjuna.ats.arjuna.thread
Class TransactionalThread

    java.lang.Object
      java.lang.Thread
          com.arjuna.ats.arjuna.thread.TransactionalThread

All Implemented Interfaces:
  java.lang.Runnable

public class TransactionalThread
extends java.lang.Thread

A transactional thread is automatically registered with the transaction that is in scope when it is created (i.e., the transaction that is associated with the creating thread). The transactional thread is also automatically unregistered from the transaction when the thread terminates.

Since:
  JTS 1.0.
Version:
  $Id: TransactionalThread.java 2342 2006-03-30 13:06:17Z $
Author:
  Mark Little (mark@arjuna.com)

Field Summary

Fields inherited from class java.lang.Thread
`MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY`

Constructor Summary
`protected` | `TransactionalThread()`

Method Summary
`static void` | `create(java.lang.Thread thread)`
`static void` | `destroy(java.lang.Thread thread)`
`void` | `finalize()`

Methods inherited from class java.lang.Thread
`activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield`

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

Constructor Detail

### TransactionalThread

    protected TransactionalThread()

Method Detail

### finalize

    public void finalize()

### create

    public static void create(java.lang.Thread thread)
                       throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### destroy

    public static void destroy(java.lang.Thread thread)
                        throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD