org.apache.openjpa.ee
Interface ManagedRuntime
- All Known Implementing Classes:
- AutomaticManagedRuntime, InvocationManagedRuntime, JNDIManagedRuntime, SunOneManagedRuntime, WASManagedRuntime, 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.
- Author:
- Abe White
getTransactionManager
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.
- Throws:
Exception
Copyright © 2006 Apache Software Foundation. All Rights Reserved.