You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by bu...@apache.org on 2015/10/27 20:05:17 UTC

svn commit: r970404 [1/3] - in /websites/staging/deltaspike/trunk/content: ./ staging/documentation/

Author: buildbot
Date: Tue Oct 27 19:05:17 2015
New Revision: 970404

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/staging/documentation/bean-validation.html
    websites/staging/deltaspike/trunk/content/staging/documentation/build.html
    websites/staging/deltaspike/trunk/content/staging/documentation/cdiimp.html
    websites/staging/deltaspike/trunk/content/staging/documentation/configuration.html
    websites/staging/deltaspike/trunk/content/staging/documentation/configure.html
    websites/staging/deltaspike/trunk/content/staging/documentation/container-control.html
    websites/staging/deltaspike/trunk/content/staging/documentation/core.html
    websites/staging/deltaspike/trunk/content/staging/documentation/data.html
    websites/staging/deltaspike/trunk/content/staging/documentation/index.html
    websites/staging/deltaspike/trunk/content/staging/documentation/jpa.html
    websites/staging/deltaspike/trunk/content/staging/documentation/jsf.html
    websites/staging/deltaspike/trunk/content/staging/documentation/modules.html
    websites/staging/deltaspike/trunk/content/staging/documentation/overview.html
    websites/staging/deltaspike/trunk/content/staging/documentation/partial-bean.html
    websites/staging/deltaspike/trunk/content/staging/documentation/projectstage.html
    websites/staging/deltaspike/trunk/content/staging/documentation/proxy.html
    websites/staging/deltaspike/trunk/content/staging/documentation/scheduler.html
    websites/staging/deltaspike/trunk/content/staging/documentation/security.html
    websites/staging/deltaspike/trunk/content/staging/documentation/servlet.html
    websites/staging/deltaspike/trunk/content/staging/documentation/snapshots.html
    websites/staging/deltaspike/trunk/content/staging/documentation/spi.html
    websites/staging/deltaspike/trunk/content/staging/documentation/test-control.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct 27 19:05:17 2015
@@ -1 +1 @@
-1710864
+1710865

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/bean-validation.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/bean-validation.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/bean-validation.html Tue Oct 27 19:05:17 2015
@@ -391,7 +391,7 @@ simply need to override the factory. The
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/build.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/build.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/build.html Tue Oct 27 19:05:17 2015
@@ -278,7 +278,7 @@ table.CodeRay td.code>pre{padding:0}
 <p>The DeltaSpike source (modules and examples) is provided for inspection, contribution and testing purposes. The source must be built with Maven, which has been used to automate the compilation, testing and packaging processes. Arquillian tests are included with the source and a CDI implementation or container can be specified with which to carry out the tests.</p>
 </div>
 <div class="paragraph">
-<p>In all cases, to obtain the DeltaSpike source, <a href="https://deltaspike.apache.org/download.html">download</a> <code>deltaspike-project-1.4.1-source-release.zip</code> and extract the contents.</p>
+<p>In all cases, to obtain the DeltaSpike source, <a href="https://deltaspike.apache.org/download.html">download</a> <code>deltaspike-project-1.5.1-source-release.zip</code> and extract the contents.</p>
 </div>
 <div class="admonitionblock note">
 <table>
@@ -302,7 +302,7 @@ You can also obtain the DeltaSpike sourc
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay highlight"><code data-lang="shell">$ cd /path/to/deltaspike-project-1.4.1/
+<pre class="CodeRay highlight"><code data-lang="shell">$ cd /path/to/deltaspike-project-1.5.1/
 $ mvn clean install</code></pre>
 </div>
 </div>
@@ -539,7 +539,7 @@ Set <code>WLS_HOME</code> so that <code>
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/cdiimp.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/cdiimp.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/cdiimp.html Tue Oct 27 19:05:17 2015
@@ -511,7 +511,7 @@ table.CodeRay td.code>pre{padding:0}
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/configuration.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/configuration.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/configuration.html Tue Oct 27 19:05:17 2015
@@ -411,7 +411,7 @@ following lookup chain until we found a
 <h4 id="_getpropertyawarepropertyvalue">getPropertyAwarePropertyValue()</h4>
 <div class="paragraph">
 <p>The method
-<code>ConfigResolver#getProjectStageAwarePropertyValue(String key, String property)</code>
+<code>ConfigResolver#getPropertyAwarePropertyValue(String key, String property)</code>
 first looks up the configured value of the given property and uses this
 value to determine the final lookup path. All those lookups take the
 <a href="projectstage.html">DeltaSpike ProjectStage</a> mechanism into account.</p>
@@ -987,7 +987,7 @@ log.</p>
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/configure.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/configure.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/configure.html Tue Oct 27 19:05:17 2015
@@ -310,7 +310,7 @@ You can also opt to use the lastest Delt
 <div class="listingblock">
 <div class="content">
 <pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;properties&gt;</span>
-    <span class="tag">&lt;deltaspike.version&gt;</span>1.4.1<span class="tag">&lt;/deltaspike.version&gt;</span>
+    <span class="tag">&lt;deltaspike.version&gt;</span>1.5.1<span class="tag">&lt;/deltaspike.version&gt;</span>
 <span class="tag">&lt;/properties&gt;</span></code></pre>
 </div>
 </div>
@@ -483,7 +483,7 @@ The API is scoped for compile time and i
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/container-control.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/container-control.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/container-control.html Tue Oct 27 19:05:17 2015
@@ -642,7 +642,7 @@ tomcat.start();</code></pre>
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/core.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/core.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/core.html Tue Oct 27 19:05:17 2015
@@ -1961,7 +1961,7 @@ objects, the last object in the array wi
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/data.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/data.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/data.html Tue Oct 27 19:05:17 2015
@@ -369,9 +369,8 @@ Java SE application should be possible -
 provider as well as a CDI container to your application manually.</p>
 </div>
 <div class="paragraph">
-<p>Also note that in order to use abstract classes as repositories, this
-currently requires the presence of the
-<a href="http://www.javassist.org">javassist</a> library in your classpath.</p>
+<p>As of DeltaSpike v1.4.0, the Data module internally leverages the Proxy module, which wraps ASM 5.  No external
+dependencies required, and now we have full support for interceptors on partial beans.</p>
 </div>
 </div>
 <div class="sect2">
@@ -2162,7 +2161,7 @@ provider when persisting / updating the
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/index.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/index.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/index.html Tue Oct 27 19:05:17 2015
@@ -316,7 +316,7 @@ table.CodeRay td.code>pre{padding:0}
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>

Modified: websites/staging/deltaspike/trunk/content/staging/documentation/jpa.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/jpa.html (original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/jpa.html Tue Oct 27 19:05:17 2015
@@ -312,7 +312,7 @@ table.CodeRay td.code>pre{padding:0}
 <div class="sect2">
 <h3 id="_2_enable_the_transaction_interceptor">2. Enable the Transaction Interceptor</h3>
 <div class="paragraph">
-<p>For CDI 1.0 (or DeltaSpike v1.1.0 and earlier together with CDI 1.1+), you must enable the transaction interceptor in the project <code>beans.xml</code> file:</p>
+<p>If you are using CDI 1.0 or CDI 1.1+ with DeltaSpike v1.1.0 and earlier, you must enable the transaction interceptor in the project <code>beans.xml</code> file:</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -862,6 +862,12 @@ in the beans.xml which is called
 </div>
 </div>
 <div class="paragraph">
+<p>Alternatively, you may expect that your transactions are started at a higher level, e.g. you&#8217;re exposing a REST API
+and the endpoints themselves are either <code>@Transactional</code> or Stateless session beans, either with container managed
+Transactions, you would use <code>org.apache.deltaspike.jpa.impl.transaction.ContainerManagedTransactionStrategy</code>.  This
+is the strategy to use if you are leveraging <code>@PersistenceContext</code> to inject your <code>EntityManager</code>.</p>
+</div>
+<div class="paragraph">
 <p>If you have multiple persistence units and you have to use both
 transaction types or the settings for development have to be different
 than the production settings, you can use
@@ -876,11 +882,11 @@ instead.</p>
 </td>
 <td class="content">
 In case of some versions of Weld (or OpenWebBeans in BDA mode), you have
-to configure it as global-alternative instead of an <code>&lt;alternatives&gt;</code> in
-beans.xml. That means you have to add, for example,
+to configure it as a <a href="spi.html#GlobalAlternative">global alternative</a> instead of an <code>alternative</code> in
+<code>beans.xml</code>. That means you have to add, for example,
 <code>globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy
 =org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy</code>
-to <code>/META-INF/apache-deltaspike.properties</code>
+to <code>/META-INF/apache-deltaspike.properties</code>.
 </td>
 </tr>
 </table>
@@ -948,7 +954,7 @@ to <code>/META-INF/apache-deltaspike.pro
     <div class="row">
         <hr>
         <footer>
-            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+            <p>Copyright &copy; 2011-2015 The Apache Software Foundation,
                 Licensed under the Apache License, Version 2.0.</p>
 
             <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>