org.apache.openjpa.ee
Class AbstractManagedRuntime
java.lang.Object
   org.apache.openjpa.ee.AbstractManagedRuntime
org.apache.openjpa.ee.AbstractManagedRuntime
- All Implemented Interfaces: 
- ManagedRuntime
- Direct Known Subclasses: 
- AutomaticManagedRuntime, InvocationManagedRuntime, JNDIManagedRuntime, SunOneManagedRuntime, WASManagedRuntime, WLSManagedRuntime
- public abstract class AbstractManagedRuntime 
- extends Object- implements ManagedRuntime
 
| Method Summary | 
|  Object | getTransactionKey()Returns a transaction key that can be used to associate transactions
 and Brokers.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
AbstractManagedRuntime
public AbstractManagedRuntime()
getTransactionKey
public Object getTransactionKey()
                         throws Exception,
                                SystemException
- Returns a transaction key that can be used to associate transactions
 and Brokers.
 The default implementation returns the Transaction associated 
 with the current thread's transaction.
 
- 
- Specified by:
- getTransactionKeyin interface- ManagedRuntime
 
- 
- Returns:
- the transaction key
- Throws:
- Exception
- SystemException
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.