Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-core/configuration.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/meecrowave-core/configuration.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/meecrowave-core/configuration.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Meecrowave Configuration) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj
Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-core/deploy-webapp.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/meecrowave-core/deploy-webapp.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/meecrowave-core/deploy-webapp.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Meecrowave and webapps) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-gradle/index.pdf ============================================================================== Binary files - no diff available. Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-jpa/index.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/meecrowave-jpa/index.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/meecrowave-jpa/index.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Meecrowave JPA) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-jta/index.pdf ============================================================================== Binary files - no diff available. Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-letsencrypt/index.pdf ============================================================================== Binary files - no diff available. Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-maven/index.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/meecrowave-maven/index.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/meecrowave-maven/index.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Meecrowave Maven) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-oauth2/index.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/meecrowave-oauth2/index.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/meecrowave-oauth2/index.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Meecrowave OAuth2) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj Modified: websites/production/openwebbeans/content/meecrowave/meecrowave-proxy/index.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/meecrowave-proxy/index.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/meecrowave-proxy/index.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Meecrowave Proxy) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj Modified: websites/production/openwebbeans/content/meecrowave/start.pdf ============================================================================== --- websites/production/openwebbeans/content/meecrowave/start.pdf (original) +++ websites/production/openwebbeans/content/meecrowave/start.pdf Wed Mar 17 17:35:01 2021 @@ -4,8 +4,8 @@ << /Title (Quick start) /Creator (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) /Producer (Asciidoctor PDF 1.5.0.alpha.16, based on Prawn 2.2.2) -/ModDate (D:20201115160336+01'00') -/CreationDate (D:20201115160336+01'00') +/ModDate (D:20210317183408+01'00') +/CreationDate (D:20210317183408+01'00') >> endobj 2 0 obj Modified: websites/production/openwebbeans/content/meecrowave/testing/index.html ============================================================================== --- websites/production/openwebbeans/content/meecrowave/testing/index.html (original) +++ websites/production/openwebbeans/content/meecrowave/testing/index.html Wed Mar 17 17:35:01 2021 @@ -153,6 +153,7 @@ which is close to <code>MonoMeecrowave.R <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code data-lang="java" class="language-java hljs">@MeecrowaveConfig /*(some config)*/ +@TestInstance(PER_CLASS) public class MeecrowaveConfigTest { @ConfigurationInject private Meecrowave.Builder config; @@ -190,6 +191,21 @@ The methods must not have any parameter. </tr> </table> </div> +<div class="admonitionblock important"> +<table> +<tr> +<td class="icon"> +<i class="fa icon-important" title="Important"></i> +</td> +<td class="content"> +when not using <code>@TestInstance(PER_CLASS)</code>, container is started per test method. Generally speaking you should try to align the scope of your container to the scope of validity of your beans. +For a library it is generally the class (so <code>@MeecrowaveConfig @TestInstance(PER_CLASS)</code>) and for an application the whole test set (so <code>@MonoMeecrowaveConfig</code>). +Note that using an <code>Extension</code> you can adjust mocks or spy beans dynamically without a container restart. +Having the longest life time for the container will make your test suite faster to execute. +</td> +</tr> +</table> +</div> </div> </div> </div> @@ -288,7 +304,7 @@ The methods must not have any parameter. <property name="ssl">false</property> <property name="sslProtocol"></property> <property name="stopPort">-1</property> - <property name="tempDir">/tmp/meecrowave_25641410894604</property> + <property name="tempDir">/tmp/meecrowave_35773547831667</property> <property name="tomcatAccessLogPattern"></property> <property name="tomcatAutoSetup">true</property> <property name="tomcatFilter"></property>