From: Ben W. <bw...@us...> - 2004-08-31 16:15:17
|
User: bwang00 Date: 04/08/31 09:15:11 Modified: src/main/org/jboss/cache/lock LockStrategyFactory.java Log: Made LockStrategyFactory cache per instance so different caches can have different lock level Revision Changes Path 1.6 +1 -7 jboss-cache/src/main/org/jboss/cache/lock/LockStrategyFactory.java Index: LockStrategyFactory.java =================================================================== RCS file: /cvsroot/jboss/jboss-cache/src/main/org/jboss/cache/lock/LockStrategyFactory.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- LockStrategyFactory.java 14 Jun 2004 15:52:25 -0000 1.5 +++ LockStrategyFactory.java 31 Aug 2004 16:15:11 -0000 1.6 @@ -13,9 +13,6 @@ */ public class LockStrategyFactory { - private static LockStrategyFactory s_me = null; - - /** * Transaction locking isolation level. Default. */ @@ -30,10 +27,7 @@ public static LockStrategyFactory getInstance() { - if (s_me == null) - s_me = new LockStrategyFactory(); - - return s_me; + return new LockStrategyFactory(); } public LockStrategy getLockStrategy() |