Author: oheger
Date: Fri Oct 22 20:32:46 2010
New Revision: 1026486

URL: http://svn.apache.org/viewvc?rev=1026486&view=rev
Log:
[LANG-653] Updated user guide

Modified:
    commons/proper/lang/trunk/src/site/xdoc/userguide.xml

Modified: commons/proper/lang/trunk/src/site/xdoc/userguide.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/site/xdoc/userguide.xml?rev=1026486&r1=1026485&r2=1026486&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/site/xdoc/userguide.xml (original)
+++ commons/proper/lang/trunk/src/site/xdoc/userguide.xml Fri Oct 22 20:32:46 
2010
@@ -256,6 +256,14 @@ public interface ConcurrentInitializer<T
      addressing various use cases:
    </p>
    <p>
+     <code>ConstantInitializer</code> is a very straightforward implementation 
of
+     the <code>ConcurrentInitializer</code> interface: An instance is passed an
+     object when it is constructed. In its <code>get()</code> method it simply
+     returns this object. This is useful, for instance in unit tests or in 
cases
+     when you want to pass a specific object to a component which expects a
+     <code>ConcurrentInitializer</code>.
+   </p>
+   <p>
      The <code>LazyInitializer</code> class can be used to defer the creation 
of
      an object until it is actually used. This makes sense, for instance, if 
the
      creation of the object is expensive and would slow down application 
startup


Reply via email to