Interface ManagedRuntime

All Known Implementing Classes:
AutomaticManagedRuntime, InvocationManagedRuntime, JNDIManagedRuntime, SunOneManagedRuntime, WLSManagedRuntime

public interface ManagedRuntime

This interface must be implemented by concrete plugins to application servers in order to integrate the OpenJPA runtime in a managed environment.

Abe White

Method Summary
 TransactionManager getTransactionManager()
          Return the TransactionManager for the managed runtime.

Method Detail


TransactionManager getTransactionManager()
                                         throws Exception
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.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.