|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.transaction.RunnableWithResult.Impl
org.eclipse.emf.transaction.impl.PrivilegedRunnable
Implementation of the privileged runnable, which allows a thread to lend its transaction to another cooperating thread for synchronous execution.
Nested Class Summary |
---|
Nested classes inherited from class org.eclipse.emf.transaction.RunnableWithResult |
---|
RunnableWithResult.Impl |
Method Summary | |
---|---|
java.lang.Thread |
getOwner()
Obtains the thread that created and owns me. |
Transaction |
getTransaction()
Obtains the transaction to which I provide access. |
void |
run()
Runs my delegate in the context of the transaction that I share. |
Methods inherited from class org.eclipse.emf.transaction.RunnableWithResult.Impl |
---|
getResult, getStatus, setResult, setStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Transaction getTransaction()
public java.lang.Thread getOwner()
public void run()
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |