Author: rafabene
Date: Thu Oct 16 15:59:28 2014
New Revision: 1632366
URL: http://svn.apache.org/r1632366
Log:
Site checkin for project Apache DeltaSpike - Documentation
Modified:
deltaspike/site/trunk/content/documentation/staging/bean-validation.html
deltaspike/site/trunk/content/documentation/staging/core.html
deltaspike/site/trunk/content/documentation/staging/jpa.html
Modified:
deltaspike/site/trunk/content/documentation/staging/bean-validation.html
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/staging/bean-validation.html?rev=1632366&r1=1632365&r2=1632366&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/staging/bean-validation.html
(original)
+++ deltaspike/site/trunk/content/documentation/staging/bean-validation.html
Thu Oct 16 15:59:28 2014
@@ -185,14 +185,16 @@ body {
<div class="sectionbody">
<div class="paragraph">
<p>The main feature of the Bean Validation module is to provide CDI
-integration in to <code>ConstraintValidator</code>\`s. This allows you to
inject CDI
+integration in to <code>ConstraintValidator</code> `s. This allows you to
inject CDI
objects, EJBs etc in to your validators.</p>
</div>
<div class="sect2">
<h3 id="_scoping">Scoping</h3>
<div class="paragraph">
-<p><code>ConstraintValidator</code>`s will inherit whatever scope as defined
in the bean class.
-Inherently, a `ConstraintValidator` may be invoked by multiple threads so
please keep that in mind when using them.
+<p><code>ConstraintValidator</code> `s will inherit whatever scope as defined
in the bean class.</p>
+</div>
+<div class="paragraph">
+<p>Inherently, a <code>ConstraintValidator</code> may be invoked by multiple
threads so please keep that in mind when using them.
You should consider using at least <code>RequestScoped</code> validators.</p>
</div>
</div>
Modified: deltaspike/site/trunk/content/documentation/staging/core.html
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/staging/core.html?rev=1632366&r1=1632365&r2=1632366&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/staging/core.html (original)
+++ deltaspike/site/trunk/content/documentation/staging/core.html Thu Oct 16
15:59:28 2014
@@ -191,7 +191,8 @@ body {
<li><a href="#_customizing_the_message_context">Customizing the message
context</a></li>
</ul>
</li>
-<li><a href="#_injecting_resources">Injecting Resources</a>
+<li><a href="#_injecting_resources">Injecting Resources</a></li>
+<li><a href="#_exception_control">Exception Control</a>
<ul class="sectlevel3">
<li><a href="#_usage">Usage</a></li>
<li><a href="#_exception_handlers">Exception handlers</a></li>
@@ -894,9 +895,9 @@ and <code>FileResourceProvider</code>. T
the <code>InjectableResourceProvider</code> interface to allow reading from
alternate sources, if needed (e.g. database LOBs, NoSQL storage areas).</p>
</div>
-<div class="paragraph">
-<p>===Exception Control</p>
</div>
+<div class="sect2">
+<h3 id="_exception_control">Exception Control</h3>
<div class="paragraph">
<p>Exception handling in DeltaSpike is based around the CDI eventing model.
While the implementation of exception handlers may not be the same as a
Modified: deltaspike/site/trunk/content/documentation/staging/jpa.html
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/staging/jpa.html?rev=1632366&r1=1632365&r2=1632366&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/staging/jpa.html (original)
+++ deltaspike/site/trunk/content/documentation/staging/jpa.html Thu Oct 16
15:59:28 2014
@@ -172,6 +172,7 @@ body {
<div id="toc" class="toc">
<ul class="sectlevel1">
<li><a href="#__transactional">@Transactional</a></li>
+<li><a href="#__transactionscoped">@TransactionScoped</a></li>
<li><a href="#_extended_persistence_contexts">Extended Persistence
Contexts</a></li>
<li><a href="#_jta_support">JTA Support</a></li>
</ul>
@@ -507,9 +508,11 @@ a different <code>EntityManager</code>.
<code>FirstLevelTransactionBean</code> e.g. to try an optional path instead of
an
immediate rollback.</p>
</div>
-<div class="paragraph">
-<p>==@TransactionScoped</p>
</div>
+</div>
+<div class="sect1">
+<h2 id="__transactionscoped">@TransactionScoped</h2>
+<div class="sectionbody">
<div class="paragraph">
<p><code>@Transactional</code> also starts a context which is available as
long as the
transaction started by <code>@Transactional</code>. Besides other beans you
can use