Author: rafabene
Date: Mon Mar 23 14:25:11 2015
New Revision: 1668654

URL: http://svn.apache.org/r1668654
Log:
Site checkin for project Apache DeltaSpike Documentation

Modified:
    deltaspike/site/trunk/content/documentation/build.html
    deltaspike/site/trunk/content/documentation/configure.html
    deltaspike/site/trunk/content/documentation/core.html
    deltaspike/site/trunk/content/documentation/jsf.html
    deltaspike/site/trunk/content/documentation/partial-bean.html
    deltaspike/site/trunk/content/documentation/scheduler.html
    deltaspike/site/trunk/content/documentation/security.html
    deltaspike/site/trunk/content/documentation/snapshots.html
    deltaspike/site/trunk/content/documentation/test-control.html

Modified: deltaspike/site/trunk/content/documentation/build.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/build.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/build.html (original)
+++ deltaspike/site/trunk/content/documentation/build.html Mon Mar 23 14:25:11 
2015
@@ -204,7 +204,7 @@ body {
 <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.2.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.3.0-source-release.zip</code> and extract the 
contents.</p>
 </div>
 <div class="admonitionblock note">
 <table>
@@ -228,7 +228,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.2.1/
+<pre class="CodeRay highlight"><code data-lang="shell">$ cd 
/path/to/deltaspike-project-1.3.0/
 $ mvn clean install</code></pre>
 </div>
 </div>

Modified: deltaspike/site/trunk/content/documentation/configure.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/configure.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/configure.html (original)
+++ deltaspike/site/trunk/content/documentation/configure.html Mon Mar 23 
14:25:11 2015
@@ -235,7 +235,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.2.1<span 
class="tag">&lt;/deltaspike.version&gt;</span>
+    <span class="tag">&lt;deltaspike.version&gt;</span>1.3.0<span 
class="tag">&lt;/deltaspike.version&gt;</span>
 <span class="tag">&lt;/properties&gt;</span></code></pre>
 </div>
 </div>

Modified: deltaspike/site/trunk/content/documentation/core.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/core.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/core.html (original)
+++ deltaspike/site/trunk/content/documentation/core.html Mon Mar 23 14:25:11 
2015
@@ -240,6 +240,7 @@ body {
 <ul class="sectlevel3">
 <li><a href="#_arraysutils">ArraysUtils</a></li>
 <li><a href="#_beanutils">BeanUtils</a></li>
+<li><a href="#_contextutils">ContextUtils</a></li>
 <li><a href="#_classdeactivationutils">ClassDeactivationUtils</a></li>
 <li><a href="#_exceptionutils">ExceptionUtils</a></li>
 <li><a href="#_propertyfileutils">PropertyFileUtils</a></li>
@@ -1557,6 +1558,19 @@ objects, the last object in the array wi
 </li>
 </ul>
 </div>
+</div>
+<div class="sect3">
+<h4 id="_contextutils">ContextUtils</h4>
+<div class="paragraph">
+<p>A set of utility methods for working with contexts.</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><code>#isContextActive</code> - Checks if the context for the scope 
annotation is active.</p>
+</li>
+</ul>
+</div>
 </div>
 <div class="sect3">
 <h4 id="_classdeactivationutils">ClassDeactivationUtils</h4>

Modified: deltaspike/site/trunk/content/documentation/jsf.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/jsf.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/jsf.html (original)
+++ deltaspike/site/trunk/content/documentation/jsf.html Mon Mar 23 14:25:11 
2015
@@ -2650,7 +2650,7 @@ public class ApplicationExceptionHandler
         
FacesContext.getCurrentInstance().getApplication().getNavigationHandler().handleNavigation(...);
 <span class="comment">// or ExternalContext etc.</span>
 
         <span class="comment">// required - &quot;stops&quot; the JSF 
lifecycle</span>
-        FacesContext.getCurrentInstance().setResponseComplete();
+        FacesContext.getCurrentInstance().responseComplete();
 
         <span class="comment">// no other JSF ExceptionHandler should handle 
this exception...</span>
         event.handled();
@@ -2693,7 +2693,7 @@ normal exceptions. This is possible via
         
FacesContext.getCurrentInstance().getApplication().getNavigationHandler().handleNavigation(...);
 <span class="comment">// or ExternalContext etc.</span>
 
         <span class="comment">// required - &quot;stops&quot; the JSF 
lifecycle</span>
-        FacesContext.getCurrentInstance().setResponseComplete();
+        FacesContext.getCurrentInstance().responseComplete();
 
         <span class="comment">// no other JSF ExceptionHandler should handle 
this exception...</span>
         event.handled();

Modified: deltaspike/site/trunk/content/documentation/partial-bean.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/partial-bean.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/partial-bean.html (original)
+++ deltaspike/site/trunk/content/documentation/partial-bean.html Mon Mar 23 
14:25:11 2015
@@ -254,7 +254,7 @@ body {
 <i class="fa icon-important" title="Important"></i>
 </td>
 <td class="content">
-Currently CDI Interceptors cannot be used for partial-beans.
+Currently CDI Interceptors applied via @Interceptors and @Decorator are not 
supported by partial beans!
 </td>
 </tr>
 </table>
@@ -272,20 +272,25 @@ interface (/abstract class) to generic h
 <div class="listingblock">
 <div class="content">
 <pre class="CodeRay highlight"><code data-lang="java"><span 
class="annotation">@PartialBeanBinding</span>
-
 <span class="annotation">@Retention</span>(RUNTIME)
 <span class="annotation">@Target</span>(TYPE)
-<span class="directive">public</span> <span 
class="annotation">@interface</span> MyPartialBeanBinding {}
-
+<span class="directive">public</span> <span 
class="annotation">@interface</span> MyPartialBeanBinding {}</code></pre>
+</div>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span 
class="comment">//scope is optional</span>
 <span class="annotation">@MyPartialBeanBinding</span>
-<span class="comment">//scope is optional</span>
 <span class="directive">public</span> <span class="type">interface</span> 
<span class="class">PartialBean</span>
 {
     <span class="predefined-type">String</span> getValue();
-}
-
+}</code></pre>
+</div>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span 
class="comment">//scope is optional</span>
 <span class="annotation">@MyPartialBeanBinding</span>
-<span class="annotation">@Dependent</span>
 <span class="directive">public</span> <span class="type">class</span> <span 
class="class">MyPartialBeanHandler</span> <span 
class="directive">implements</span> java.lang.reflect.InvocationHandler
 {
     <span class="directive">public</span> <span 
class="predefined-type">Object</span> invoke(<span 
class="predefined-type">Object</span> proxy, <span 
class="predefined-type">Method</span> method, <span 
class="predefined-type">Object</span><span class="type">[]</span> args) <span 
class="directive">throws</span> <span class="predefined-type">Throwable</span>
@@ -295,10 +300,6 @@ interface (/abstract class) to generic h
 }</code></pre>
 </div>
 </div>
-<div class="paragraph">
-<p>Using an abstract class as partial-bean requires javassist as an
-additional dependency and allows to implement some methods manually.</p>
-</div>
 </div>
 </div>
 </div>

Modified: deltaspike/site/trunk/content/documentation/scheduler.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/scheduler.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/scheduler.html (original)
+++ deltaspike/site/trunk/content/documentation/scheduler.html Mon Mar 23 
14:25:11 2015
@@ -317,7 +317,7 @@ schedule/install jobs dynamically.</p>
         <span class="keyword">if</span> (ProjectStage.Production.equals(<span 
class="local-variable">this</span>.projectStage))
         {
             <span class="comment">//see 'false' for @Scheduled#onStartup</span>
-            <span 
class="local-variable">this</span>.jobScheduler.scheduleJob(ManualCdiAwareQuartzJob.class);
+            <span 
class="local-variable">this</span>.jobScheduler.registerNewJob(ManualCdiAwareQuartzJob.class);
         }
     }
 

Modified: deltaspike/site/trunk/content/documentation/security.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/security.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/security.html (original)
+++ deltaspike/site/trunk/content/documentation/security.html Mon Mar 23 
14:25:11 2015
@@ -330,9 +330,9 @@ list of our @Secures method.</p>
 {
     <span class="annotation">@Secures</span>
     <span class="annotation">@CustomSecurityBinding</span>
-    <span class="directive">public</span> <span class="type">boolean</span> 
doSecuredCheck(InvocationContext invocationContext, BeanManager manager, <span 
class="annotation">@LoggedIn</span> User user) <span 
class="directive">throws</span> <span class="exception">Exception</span>
+    <span class="directive">public</span> <span class="type">boolean</span> 
doSecuredCheck(InvocationContext invocationContext, BeanManager manager, <span 
class="predefined-type">Identity</span> identity) <span 
class="directive">throws</span> <span class="exception">Exception</span>
     {
-        <span class="keyword">return</span> user.isLoggedIn(); <span 
class="comment">// perform security check</span>
+        <span class="keyword">return</span> identity.isLoggedIn(); <span 
class="comment">// perform security check</span>
     }
 }</code></pre>
 </div>
@@ -385,9 +385,9 @@ security in our applications:</p>
 {
     <span class="annotation">@Secures</span>
     <span class="annotation">@CustomSecurityBinding</span>
-    <span class="directive">public</span> <span class="type">boolean</span> 
doSecuredCheck(InvocationContext invocationContext, BeanManager manager, <span 
class="annotation">@LoggedIn</span> User user, <span 
class="annotation">@CurrentThing</span> Thing thing) <span 
class="directive">throws</span> <span class="exception">Exception</span>
+    <span class="directive">public</span> <span class="type">boolean</span> 
doSecuredCheck(InvocationContext invocationContext, BeanManager manager, <span 
class="predefined-type">Identity</span> identity, <span 
class="annotation">@CurrentThing</span> Thing thing) <span 
class="directive">throws</span> <span class="exception">Exception</span>
     {
-        <span class="keyword">return</span> thing.hasMember(user); <span 
class="comment">// perform security check against our method parameter</span>
+        <span class="keyword">return</span> thing.hasMember(identity); <span 
class="comment">// perform security check against our method parameter</span>
     }
 }</code></pre>
 </div>
@@ -444,9 +444,9 @@ to use a secured return value:</p>
 {
     <span class="annotation">@Secures</span>
     <span class="annotation">@CustomSecurityBinding</span>
-    <span class="directive">public</span> <span class="type">boolean</span> 
doSecuredCheck(<span class="annotation">@SecuredReturn</span> Thing thing, 
<span class="annotation">@LoggedIn</span> User user) <span 
class="directive">throws</span> <span class="exception">Exception</span>
+    <span class="directive">public</span> <span class="type">boolean</span> 
doSecuredCheck(<span class="annotation">@SecuredReturn</span> Thing thing, 
<span class="predefined-type">Identity</span> identity) <span 
class="directive">throws</span> <span class="exception">Exception</span>
     {
-        <span class="keyword">return</span> thing.hasMember(user); <span 
class="comment">// perform security check against the return value</span>
+        <span class="keyword">return</span> thing.hasMember(identity); <span 
class="comment">// perform security check against the return value</span>
 }</code></pre>
 </div>
 </div>

Modified: deltaspike/site/trunk/content/documentation/snapshots.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/snapshots.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/snapshots.html (original)
+++ deltaspike/site/trunk/content/documentation/snapshots.html Mon Mar 23 
14:25:11 2015
@@ -268,7 +268,7 @@ Snapshots provide previews of DeltaSpike
 <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.2.2-SNAPSHOT<span 
class="tag">&lt;/deltaspike.version&gt;</span>
+    <span class="tag">&lt;deltaspike.version&gt;</span>1.3.1-SNAPSHOT<span 
class="tag">&lt;/deltaspike.version&gt;</span>
 <span class="tag">&lt;/properties&gt;</span></code></pre>
 </div>
 </div>

Modified: deltaspike/site/trunk/content/documentation/test-control.html
URL: 
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/documentation/test-control.html?rev=1668654&r1=1668653&r2=1668654&view=diff
==============================================================================
--- deltaspike/site/trunk/content/documentation/test-control.html (original)
+++ deltaspike/site/trunk/content/documentation/test-control.html Mon Mar 23 
14:25:11 2015
@@ -196,7 +196,7 @@ body {
 <li><a href="#_configure_your_projects">Configure Your Projects</a>
 <ul class="sectlevel2">
 <li><a href="#_1_declare_test_control_module_dependencies">1. Declare 
Test-Control Module Dependencies</a></li>
-<li><a 
href="#_2_declare_cdi_implementation_specific_test_control_module_dependencies">2.
 Declare CDI Implementation-specific Test-Control Module Dependencies</a>
+<li><a 
href="#_2_declare_cdi_implemetation_specific_test_control_module_dependencies">2.
 Declare CDI Implemetation-specific Test-Control Module Dependencies</a>
 <ul class="sectlevel3">
 <li><a href="#_openwebbeans">OpenWebBeans</a></li>
 <li><a href="#_weld">Weld</a></li>
@@ -287,7 +287,7 @@ body {
 </div>
 </div>
 <div class="sect2">
-<h3 
id="_2_declare_cdi_implementation_specific_test_control_module_dependencies">2. 
Declare CDI Implementation-specific Test-Control Module Dependencies</h3>
+<h3 
id="_2_declare_cdi_implemetation_specific_test_control_module_dependencies">2. 
Declare CDI Implemetation-specific Test-Control Module Dependencies</h3>
 <div class="paragraph">
 <p>The Test-Control module uses the Container-Control module, requiring a 
implementation-specific Container Control module to be declared in the project 
<code>pom.xml</code> file. Choose the appropriate option from those listed 
here.</p>
 </div>
@@ -508,9 +508,9 @@ via a mocking framework and add them, fo
 </div>
 <div class="paragraph">
 <p><strong>Attention:</strong> Mocking CDI beans isis not supported for every 
feature of CDI and/or
-every implementation version. For example, we can not mock intercepted CDI 
beans and
+every implementation version. For example, we cais not mock intercepted CDI 
beans and
 with some implementations mocking specialized beans fails.
-Usually all features are active by default; however,
+Usually all features are active by default, however,
 due to those reasons we deactivated this feature by default.
 You can enable it by adding</p>
 </div>


Reply via email to