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:
Michael Dick 2013-07-10 02:14:30 +00:00
parent 8eb9ff9ce8
commit 8cb451d1df
2 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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;