X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=test%2Fenterprise%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsupport%2FThreadSpecificProxyFactory.java;h=02668cdc9cbb3cdfbf04437e5c2c32778b0d4543;hb=f9ccadb956bac942258d9892c66e481ac2aec446;hp=e47c037ac8f23e56086235c4758c8df7a759c2ad;hpb=9ab911608dc6ca11286bc7a255457806c2c78b29;p=utils diff --git a/test/enterprise/src/main/java/org/wamblee/support/ThreadSpecificProxyFactory.java b/test/enterprise/src/main/java/org/wamblee/support/ThreadSpecificProxyFactory.java index e47c037a..02668cdc 100644 --- a/test/enterprise/src/main/java/org/wamblee/support/ThreadSpecificProxyFactory.java +++ b/test/enterprise/src/main/java/org/wamblee/support/ThreadSpecificProxyFactory.java @@ -71,6 +71,14 @@ public class ThreadSpecificProxyFactory { 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