mirror of https://github.com/apache/openjpa.git
OPENJPA-696: Make transaction synchronization registries non-static.
Patch is old - feel free to revert if something breaks. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501634 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8eb9ff9ce8
commit
8cb451d1df
|
@ -74,16 +74,16 @@ public class AutomaticManagedRuntime extends AbstractManagedRuntime
|
|||
+ "getTransactionManagerImpl", // borland
|
||||
};
|
||||
|
||||
private static final ManagedRuntime REGISTRY;
|
||||
private static final WLSManagedRuntime WLS;
|
||||
private static final SunOneManagedRuntime SUNONE;
|
||||
private static final WASManagedRuntime WAS;
|
||||
private static final WASRegistryManagedRuntime WAS_REG;
|
||||
private final ManagedRuntime REGISTRY;
|
||||
private final WLSManagedRuntime WLS;
|
||||
private final SunOneManagedRuntime SUNONE;
|
||||
private final WASManagedRuntime WAS;
|
||||
private final WASRegistryManagedRuntime WAS_REG;
|
||||
|
||||
private static Localizer _loc = Localizer.forPackage
|
||||
(AutomaticManagedRuntime.class);
|
||||
|
||||
static {
|
||||
public AutomaticManagedRuntime() {
|
||||
ManagedRuntime mr = null;
|
||||
|
||||
mr = null;
|
||||
|
|
|
@ -101,7 +101,7 @@ public class RegistryManagedRuntime
|
|||
*
|
||||
* @author Marc Prud'hommeaux
|
||||
*/
|
||||
public static class TransactionManagerRegistryFacade
|
||||
public class TransactionManagerRegistryFacade
|
||||
implements TransactionManager, Transaction {
|
||||
private final TransactionSynchronizationRegistry _registry;
|
||||
|
||||
|
|
Loading…
Reference in New Issue