git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(no commit message)
[utils]
/
test
/
enterprise
/
src
/
main
/
java
/
org
/
wamblee
/
support
/
ThreadSpecificProxyFactory.java
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 e47c037ac8f23e56086235c4758c8df7a759c2ad..02668cdc9cbb3cdfbf04437e5c2c32778b0d4543 100644
(file)
--- 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<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