(no commit message)
[utils] / test / enterprise / src / main / java / org / wamblee / support / ThreadSpecificProxyFactory.java
index e47c037ac8f23e56086235c4758c8df7a759c2ad..02668cdc9cbb3cdfbf04437e5c2c32778b0d4543 100644 (file)
@@ -71,6 +71,14 @@ public class ThreadSpecificProxyFactory<T> {
     public void set(T aService) {
         svc.set(aService);
     }
+    
+    /**
+     * Gets the current thread-specific service. 
+     * @return Service. 
+     */
+    public T get() { 
+        return svc.get();
+    }
 
     /**
      * Gets the proxy that delegates to the thread-specific instance set by