You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by bu...@apache.org on 2017/09/15 06:59:11 UTC

svn commit: r1018179 - in /websites/staging/openwebbeans/trunk/content: ./ meecrowave/ meecrowave/meecrowave-core/ meecrowave/meecrowave-gradle/ meecrowave/meecrowave-jolokia/ meecrowave/meecrowave-jpa/ meecrowave/meecrowave-jta/ meecrowave/meecrowave-...

Author: buildbot
Date: Fri Sep 15 06:59:10 2017
New Revision: 1018179

Log:
Staging update by buildbot for openwebbeans

Modified:
    websites/staging/openwebbeans/trunk/content/   (props changed)
    websites/staging/openwebbeans/trunk/content/meecrowave/community.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/companion-projects.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/components.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/download.html
    websites/staging/openwebbeans/trunk/content/meecrowave/download.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-gradle/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jolokia/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jpa/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jta/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/start.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html
    websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf

Propchange: websites/staging/openwebbeans/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 15 06:59:10 2017
@@ -1 +1 @@
-1804720
+1808414

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/community.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/companion-projects.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/components.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/download.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/download.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/download.html Fri Sep 15 06:59:10 2017
@@ -67,7 +67,7 @@
 
             <section class="doc-section">
                 <div class="paragraph">
-<p>License is ASF v2.</p>
+<p>License under Apache License v2 (ALv2).</p>
 </div>
 <div class="admonitionblock important">
 <table>
@@ -103,6 +103,30 @@ java 9 support is still experimental unt
 <tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Source Release</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">1.1.0</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Fri, 07 Jul 2017 22:27:32 GMT</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">1 MB 357 kB</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">zip</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/1.1.0/meecrowave-1.1.0-source-release.zip"><span class="icon"><i class="fa fa-download"></i></span> zip</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/1.1.0/meecrowave-1.1.0-source-release.zip.sha1"><span class="icon"><i class="fa fa-download"></i></span> sha1</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/1.1.0/meecrowave-1.1.0-source-release.zip.md5"><span class="icon"><i class="fa fa-download"></i></span> md5</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/1.1.0/meecrowave-1.1.0-source-release.zip.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Core runner</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">1.1.0</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Fri, 07 Jul 2017 22:28:34 GMT</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">9 MB 286 kB</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">jar</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0-runner.jar"><span class="icon"><i class="fa fa-download"></i></span> jar</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0-runner.jar.sha1"><span class="icon"><i class="fa fa-download"></i></span> sha1</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0-runner.jar.md5"><span class="icon"><i class="fa fa-download"></i></span> md5</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0-runner.jar.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Core</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">1.1.0</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Fri, 07 Jul 2017 22:28:22 GMT</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">174 kB</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">jar</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0.jar"><span class="icon"><i class="fa fa-download"></i></span> jar</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0.jar.sha1"><span class="icon"><i class="fa fa-download"></i></span> sha1</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0.jar.md5"><span class="icon"><i class="fa fa-download"></i></span> md5</a> <a href="http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.1.0/meecrowave-core-1.1.0.jar.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Source Release</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">1.0.0</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Fri, 07 Jul 2017 22:27:32 GMT</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">1 MB 357 kB</p></td>

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/download.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html Fri Sep 15 06:59:10 2017
@@ -400,6 +400,72 @@ and make it active using <code>addCustom
 </div>
 </div>
 <div class="sect1">
+<h2 id="_cdi_se_api">CDI SE API</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>CDI 2.0 introduces a "SE API" for CDI. It looks like:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-java" data-lang="java">try (final SeContainer container = SeContainerInitializer.newInstance()
+        .disableDiscovery()
+        .addBeanClasses(Configured.class)
+        .initialize()) {
+    // your main
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Meecrowave inherits from OpenWebBeans SE API implementation and therefore this SE API will work out of the box.</p>
+</div>
+<div class="paragraph">
+<p>It is implemented as a <code>bake()</code> and you can still access the <code>Builder</code> configuration or even <code>Meecrowave</code> itself if needed:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-java" data-lang="java">try (final SeContainer container = SeContainerInitializer.newInstance()
+        .disableDiscovery()
+        .addBeanClasses(Configured.class)
+        .initialize()) {
+
+    // use the configuration to access extensions, custom config or even server port
+    Meecrowave.Builder config = container.select(Meecrowave.Builder.class).get();
+    int port = config.getHttpPort();
+
+    // default wait implementation relying on tomcat one
+    container.select(Meecrowave.class).get().await(); // wait for the program to be killed (tomcat.await() equivalent)
+
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>All the configuration of meecrowave is still available using properties:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-java" data-lang="java">try (final SeContainer container = SeContainerInitializer.newInstance()
+     .addProperty("nameOfTheProperty", instanceInTheRightType)
+     .initialize()) {
+    container.select(Meecrowave.class).get().await();
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>The type should match the type expected by the <code>Builder</code> instance. Note you can also just pass directly a <code>Builder</code> instance as value
+(the property name is not important) if you want something preconfigured:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-java" data-lang="java">try (final SeContainer container = SeContainerInitializer.newInstance()
+     .addProperty("meecrowaveConfiguration", new Meecrowave.Builder().randomPort())
+     .initialize()) {
+    container.select(Meecrowave.class).get().await();
+}</code></pre>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
 <h2 id="_automatic_configuration">Automatic configuration</h2>
 <div class="sectionbody">
 <div class="paragraph">

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-gradle/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jolokia/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jpa/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jta/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/start.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html Fri Sep 15 06:59:10 2017
@@ -269,7 +269,7 @@ public class MeecrowaveConfigTest {
       &lt;property name="ssl"&gt;false&lt;/property&gt;
       &lt;property name="sslProtocol"&gt;&lt;/property&gt;
       &lt;property name="stopPort"&gt;-1&lt;/property&gt;
-      &lt;property name="tempDir"&gt;/tmp/meecrowave_266463801654997&lt;/property&gt;
+      &lt;property name="tempDir"&gt;/tmp/meecrowave_173845845591564&lt;/property&gt;
       &lt;property name="tomcatAccessLogPattern"&gt;&lt;/property&gt;
       &lt;property name="tomcatAutoSetup"&gt;true&lt;/property&gt;
       &lt;property name="tomcatFilter"&gt;&lt;/property&gt;

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf
==============================================================================
Binary files - no diff available.