svn commit: r586850 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r586850 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java

doogie-3
Author: doogie
Date: Sat Oct 20 20:55:49 2007
New Revision: 586850

URL: http://svn.apache.org/viewvc?rev=586850&view=rev
Log:
ServiceDispatcher.runLog now has generics markup.

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java

Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java?rev=586850&r1=586849&r2=586850&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java Sat Oct 20 20:55:49 2007
@@ -58,7 +58,7 @@
     public static final int lruLogSize = 200;
     public static final int LOCK_RETRIES = 3;
 
-    protected static final Map runLog = new LRUMap(lruLogSize);
+    protected static final Map<RunningService, ServiceDispatcher> runLog = new LRUMap<RunningService, ServiceDispatcher>(lruLogSize);
     protected static Map dispatchers = FastMap.newInstance();
     protected static boolean enableJM = true;
     protected static boolean enableJMS = true;
@@ -1058,7 +1058,7 @@
         ServiceDispatcher.enableSvcs = enable;
     }
 
-    public static Map getServiceLogMap() {
+    public static Map<RunningService, ServiceDispatcher> getServiceLogMap() {
         return runLog;
     }