Modified:
websites/staging/deltaspike/trunk/content/staging/documentation/modules.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/modules.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/modules.html
Tue Oct 27 19:05:17 2015
@@ -339,7 +339,7 @@ table.CodeRay td.code>pre{padding:0}
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/overview.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/overview.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/overview.html
Tue Oct 27 19:05:17 2015
@@ -492,7 +492,7 @@ Portable CDI extensions extend CDI imple
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/partial-bean.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/partial-bean.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/partial-bean.html
Tue Oct 27 19:05:17 2015
@@ -410,7 +410,7 @@ interface (/abstract class) to generic h
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/projectstage.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/projectstage.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/projectstage.html
Tue Oct 27 19:05:17 2015
@@ -454,7 +454,7 @@ scenarios).</p>
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/proxy.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/proxy.html
(original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/proxy.html
Tue Oct 27 19:05:17 2015
@@ -276,7 +276,41 @@ table.CodeRay td.code>pre{padding:0}
<h2 id="_overview">Overview</h2>
<div class="sectionbody">
<div class="paragraph">
-<p>TODO</p>
+<p>The Proxy Module provides a simple CDI based wrapper for creating dynamic
proxies that can be used within other extensions.<br>
+The benefit of the DeltaSpike Proxy Module (compared to Javassist or any
library) is that the DeltaSpike proxies will execute CDI interceptors.<br>
+The Proxy Module also provides the 'DeltaSpikeProxyContextualLifecycle', which
enables you to dynamically register a proxy as CDI bean via our
'BeanBuilder'.</p>
+</div>
+<div class="sect2">
+<h3 id="_1_declare_proxy_module_dependencies">1. Declare Proxy Module
Dependencies</h3>
+<div class="paragraph">
+<p>Add the Proxy module to the list of dependencies in the project
<code>pom.xml</code> file using this code snippet:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.modules<span
class="tag"></groupId></span>
+ <span
class="tag"><artifactId></span>deltaspike-proxy-module-api<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>compile<span
class="tag"></scope></span>
+<span class="tag"></dependency></span>
+
+<span class="tag"><dependency></span>
+ <span class="tag"><groupId></span>org.apache.deltaspike.modules<span
class="tag"></groupId></span>
+ <span
class="tag"><artifactId></span>deltaspike-proxy-module-impl-asm5<span
class="tag"></artifactId></span>
+ <span class="tag"><version></span>${deltaspike.version}<span
class="tag"></version></span>
+ <span class="tag"><scope></span>runtime<span
class="tag"></scope></span>
+<span class="tag"></dependency></span></code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>The currently provided implementation is a wrapper for ASM 5, which gets
shaded into the implementation JAR.</p>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_2_extend_code_deltaspikeproxyfactory_code">2. Extend
<code>DeltaSpikeProxyFactory</code></h3>
+<div class="paragraph">
+<p>The key to making the proxy module work is to provide an implementation of
<code>DeltaSpikeProxyFactory</code> which will do your proxy work for you.
DeltaSpike ships a default one in the PartialBean module which demonstrates how
its meant to work.</p>
+</div>
</div>
</div>
</div>
@@ -304,7 +338,12 @@ table.CodeRay td.code>pre{padding:0}
<div class="fallback-toc">
<ul class="sectlevel1">
-<li><a href="#_overview">Overview</a></li>
+<li><a href="#_overview">Overview</a>
+<ul class="sectlevel2">
+<li><a href="#_1_declare_proxy_module_dependencies">1. Declare Proxy Module
Dependencies</a></li>
+<li><a href="#_2_extend_code_deltaspikeproxyfactory_code">2. Extend
<code>DeltaSpikeProxyFactory</code></a></li>
+</ul>
+</li>
</ul>
</div>
@@ -315,7 +354,7 @@ table.CodeRay td.code>pre{padding:0}
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/scheduler.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/scheduler.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/scheduler.html
Tue Oct 27 19:05:17 2015
@@ -477,7 +477,7 @@ start a job once (without registering it
<div class="sectionbody">
<div class="paragraph">
<p>It is possible to replace the default integration with Quartz. Any
scheduler that supports cron-expressions for job-classes can be used.
-For more information, see <a
href="https://deltaspike.apache.org/javadoc/1.4.1/org/apache/deltaspike/scheduler/spi/Scheduler.html">Scheduler
javadoc</a>.</p>
+For more information, see <a
href="https://deltaspike.apache.org/javadoc/1.5.1/org/apache/deltaspike/scheduler/spi/Scheduler.html">Scheduler
javadoc</a>.</p>
</div>
</div>
</div>
@@ -533,7 +533,7 @@ For more information, see <a href="https
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/security.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/security.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/security.html
Tue Oct 27 19:05:17 2015
@@ -809,7 +809,7 @@ available after user logs in.</p>
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/servlet.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/servlet.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/servlet.html
Tue Oct 27 19:05:17 2015
@@ -692,7 +692,7 @@ your <code>web.xml</code> to disable the
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/snapshots.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/snapshots.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/snapshots.html
Tue Oct 27 19:05:17 2015
@@ -344,7 +344,7 @@ Snapshots provide previews of DeltaSpike
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="xml"><span
class="tag"><properties></span>
- <span class="tag"><deltaspike.version></span>1.4.2-SNAPSHOT<span
class="tag"></deltaspike.version></span>
+ <span class="tag"><deltaspike.version></span>1.5.2-SNAPSHOT<span
class="tag"></deltaspike.version></span>
<span class="tag"></properties></span></code></pre>
</div>
</div>
@@ -385,7 +385,7 @@ Snapshots provide previews of DeltaSpike
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/spi.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/staging/documentation/spi.html
(original)
+++ websites/staging/deltaspike/trunk/content/staging/documentation/spi.html
Tue Oct 27 19:05:17 2015
@@ -336,6 +336,21 @@ as soon as everything is initialized the
<div class="paragraph">
<p>A class-deactivator will be resolved from the environment via the default
resolvers or via a custom resolver which allows to use any type of
configuration-format. (see
<code>org.apache.deltaspike.core.api.config.ConfigResolver</code>). The key is
the fully qualified name of the interface
(<code>org.apache.deltaspike.core.spi.activation.ClassDeactivator</code>).</p>
</div>
+<div class="paragraph">
+<p>Starting with (TBD v1.5.1), Apache DeltaSpike ships a default Class
Deactivator. It is designed mostly for testing purposes, but is meant to
reduce code overhead
+and allow configuration to drive classes to deactivate. It is built upon the
<code>ConfigSource</code> paradigm, which allows for configuration based keys
to deactivate your
+classes. If you’re not using any other ConfigSource, you can simply add
entries to <code>META-INF/apache-deltaspike.properties</code> to disable
classes at runtime. Here’s an
+example configuration</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay
highlight"><code>org.apache.deltaspike.core.spi.activation.ClassDeactivator=org.apache.deltaspike.core.impl.activation.DefaultClassDeactivator
+deactivate.org.apache.deltaspike.test.core.impl.activation.DeactivatedClass=true</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>By listing the class in the properties file and setting the value to
<code>true</code>, the class will be deactivated. This is valid for anything
where <code>Boolean.valueOf</code> returns true.</p>
+</div>
</div>
</div>
</div>
@@ -429,7 +444,7 @@ a too strict interpretation or a broken
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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/test-control.html
==============================================================================
---
websites/staging/deltaspike/trunk/content/staging/documentation/test-control.html
(original)
+++
websites/staging/deltaspike/trunk/content/staging/documentation/test-control.html
Tue Oct 27 19:05:17 2015
@@ -1054,7 +1054,7 @@ Currently DeltaSpike provides:</p>
<div class="row">
<hr>
<footer>
- <p>Copyright © 2011-2014 The Apache Software Foundation,
+ <p>Copyright © 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>