org.apache.openjpa.ee
Class WLSManagedRuntime

java.lang.Object
  extended by org.apache.openjpa.ee.WLSManagedRuntime
All Implemented Interfaces:
ManagedRuntime

public class WLSManagedRuntime
extends Object
implements ManagedRuntime

ManagedRuntime implementation that directly accesses the transaction manager via WebLogic Server helper classes.

Author:
Arunabh Hazarika, Patrick Linskey

Constructor Summary
WLSManagedRuntime()
           
 
Method Summary
 TransactionManager getTransactionManager()
          Return the TransactionManager for the managed runtime.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLSManagedRuntime

public WLSManagedRuntime()
                  throws ClassNotFoundException,
                         NoSuchMethodException
Throws:
ClassNotFoundException
NoSuchMethodException
Method Detail

getTransactionManager

public TransactionManager getTransactionManager()
                                         throws Exception
Description copied from interface: ManagedRuntime
Return the TransactionManager for the managed runtime. This manager is used to register synchronization listeners, to map transactional PersistenceManagers to the current transaction, and possibly to enlist XA resources.

Specified by:
getTransactionManager in interface ManagedRuntime
Throws:
Exception


Copyright © 2006 Apache Software Foundation. All Rights Reserved.