You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2011/12/18 15:19:05 UTC

svn commit: r1220414 - /openejb/site/trunk/content/singleton-example.mdtext

Author: vishwanathk
Date: Sun Dec 18 14:19:05 2011
New Revision: 1220414

URL: http://svn.apache.org/viewvc?rev=1220414&view=rev
Log:
formatted, and code added inline

Modified:
    openejb/site/trunk/content/singleton-example.mdtext

Modified: openejb/site/trunk/content/singleton-example.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/singleton-example.mdtext?rev=1220414&r1=1220413&r2=1220414&view=diff
==============================================================================
--- openejb/site/trunk/content/singleton-example.mdtext (original)
+++ openejb/site/trunk/content/singleton-example.mdtext Sun Dec 18 14:19:05 2011
@@ -56,6 +56,7 @@ public class PropertyRegistryBean implem
 }
 </pre></code>
 
+<div class="container">
 ComponentRegistryBean
 
 Here we see a bean that uses the Container-Managed Concurrency option, the default. With @ConcurrencyManagement(CONTAINER) the container controls whether multi-threaded access should be allowed to the bean (@Lock(READ)) or if single-threaded access should be enforced (@Lock(WRITE)).
@@ -169,4 +170,5 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
 Results :
 
 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
-</pre></code>
\ No newline at end of file
+</pre></code>
+</div>
\ No newline at end of file