code style improvements.
[utils] / test / enterprise / src / main / java / org / wamblee / support / ThreadSpecificProxyFactory.java
index 02668cdc9cbb3cdfbf04437e5c2c32778b0d4543..b024e9785fa0c870d41fbf55be6fc77b4dc7dd9b 100644 (file)
@@ -26,6 +26,14 @@ import java.lang.reflect.Proxy;
  * 
  * It is used for instance to pass a transaction scoped entity manager around.
  * 
+ * The {@link #set(Object)} method sets the current service instance for the current thread. 
+ * The {@link #get()} method gets the current service instance for the current thread. 
+ * The {@link #getProxy()} method gets a proxy that will delegate at runtime to the thread-specific 
+ * instance. The result from this method can be passed at construction of an object that will be used
+ * by multiple threads. 
+ * 
+ * This class is mostly used by other test tools. 
+ * 
  * @param T
  *            Interface to proxy.
  * @author Erik Brakkee