Return-Path: X-Original-To: apmail-deltaspike-commits-archive@www.apache.org Delivered-To: apmail-deltaspike-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 251701089B for ; Mon, 15 Dec 2014 22:31:44 +0000 (UTC) Received: (qmail 67223 invoked by uid 500); 15 Dec 2014 22:31:44 -0000 Delivered-To: apmail-deltaspike-commits-archive@deltaspike.apache.org Received: (qmail 67105 invoked by uid 500); 15 Dec 2014 22:31:44 -0000 Mailing-List: contact commits-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltaspike.apache.org Delivered-To: mailing list commits@deltaspike.apache.org Received: (qmail 67010 invoked by uid 99); 15 Dec 2014 22:31:43 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2014 22:31:43 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id A9D7AAC08CB for ; Mon, 15 Dec 2014 22:31:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r932889 [1/7] - in /websites/staging/deltaspike/trunk/content: ./ documentation/ Date: Mon, 15 Dec 2014 22:31:43 -0000 To: commits@deltaspike.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141215223143.A9D7AAC08CB@hades.apache.org> Author: buildbot Date: Mon Dec 15 22:31:42 2014 New Revision: 932889 Log: Staging update by buildbot for deltaspike Added: websites/staging/deltaspike/trunk/content/documentation/addons.html websites/staging/deltaspike/trunk/content/documentation/articles.html websites/staging/deltaspike/trunk/content/documentation/cdiimp.html websites/staging/deltaspike/trunk/content/documentation/configure.html websites/staging/deltaspike/trunk/content/documentation/external.html websites/staging/deltaspike/trunk/content/documentation/modules.html websites/staging/deltaspike/trunk/content/documentation/overview.html websites/staging/deltaspike/trunk/content/documentation/snapshots.html Modified: websites/staging/deltaspike/trunk/content/ (props changed) websites/staging/deltaspike/trunk/content/documentation/bean-validation.html websites/staging/deltaspike/trunk/content/documentation/build.html websites/staging/deltaspike/trunk/content/documentation/configuration.html websites/staging/deltaspike/trunk/content/documentation/container-control.html websites/staging/deltaspike/trunk/content/documentation/core.html websites/staging/deltaspike/trunk/content/documentation/data.html websites/staging/deltaspike/trunk/content/documentation/index.html websites/staging/deltaspike/trunk/content/documentation/jpa.html websites/staging/deltaspike/trunk/content/documentation/jsf.html websites/staging/deltaspike/trunk/content/documentation/partial-bean.html websites/staging/deltaspike/trunk/content/documentation/projectstage.html websites/staging/deltaspike/trunk/content/documentation/scheduler.html websites/staging/deltaspike/trunk/content/documentation/security.html websites/staging/deltaspike/trunk/content/documentation/servlet.html websites/staging/deltaspike/trunk/content/documentation/source.html websites/staging/deltaspike/trunk/content/documentation/spi.html websites/staging/deltaspike/trunk/content/documentation/test-control.html Propchange: websites/staging/deltaspike/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Mon Dec 15 22:31:42 2014 @@ -1 +1 @@ -1645542 +1645776 Added: websites/staging/deltaspike/trunk/content/documentation/addons.html ============================================================================== --- websites/staging/deltaspike/trunk/content/documentation/addons.html (added) +++ websites/staging/deltaspike/trunk/content/documentation/addons.html Mon Dec 15 22:31:42 2014 @@ -0,0 +1,231 @@ + + + + + + + + +Add-ons + + + + + + + + + + + + + + + + +
+
+
+
+

Add-ons

+
+ +
+ +
+ +
+
+
+

Add-ons extend the functionality of DeltaSpike and several have been developed external to the DeltaSpike project. Brief information is given here about each of the add-ons, with details of where they can be obtained from.

+
+
+
+
+

Monitoring

+
+
+

ds-monitoring-addon provides simple monitoring for several common use-cases (exceptions, performance, audits), collecting information about the monitored method-invocations during a request and enabling you to process the entries based on your requirements. For more information about its use and implementation, see os890: [add-on] monitoring lite with deltaspike.

+
+ +
+
+
+

Spring Bridge

+
+
+

ds-spring-bridge-addon is a two-way cdi-spring bridge that allows spring-beans to be injected into cdi-beans and vice versa provided the concepts, for example qualifiers, are compatible. For more information about its use and implementation, see os890: [add-on] spring-bridge with deltaspike.

+
+ +
+
+
+

Disruptor

+
+
+

ds-disruptor-addon improves CDI synchronous event-processing performance by creating a disruptor process for every observer method, enabling CDI synchronous events in conjunction with asynchronous observers. This add-on currently works with Apache TomEE and JBoss AS 7. For more information about its use and implementation, see os890: [add-on] fast event processing with disruptor + deltaspike.

+
+ +
+
+
+ +
+ +
+

Copyright © 2011-2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.

+

Apache and the Apache feather logo are trademarks of The Apache Software Foundation.

+
+ +
+ + + + \ No newline at end of file Added: websites/staging/deltaspike/trunk/content/documentation/articles.html ============================================================================== --- websites/staging/deltaspike/trunk/content/documentation/articles.html (added) +++ websites/staging/deltaspike/trunk/content/documentation/articles.html Mon Dec 15 22:31:42 2014 @@ -0,0 +1,257 @@ + + + + + + + + +Articles and Blogs + + + + + + + + + + + + + + + + +
+
+
+
+

Articles and Blogs

+
+ +
+ +
+ +
+
+
+

You can find lots of content related to DeltaSpike with a quick internet search. But here is a list of some useful articles and blogs to get you started.

+
+
+

If you know of useful DeltaSpike articles or blogs that are not listed, let us know.

+
+
+
+ + +
+ +
+ +
+

Copyright © 2011-2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.

+

Apache and the Apache feather logo are trademarks of The Apache Software Foundation.

+
+ +
+ + + + \ No newline at end of file Modified: websites/staging/deltaspike/trunk/content/documentation/bean-validation.html ============================================================================== --- websites/staging/deltaspike/trunk/content/documentation/bean-validation.html (original) +++ websites/staging/deltaspike/trunk/content/documentation/bean-validation.html Mon Dec 15 22:31:42 2014 @@ -134,7 +134,7 @@ body { data-target=".nav-collapse"> Apache DeltaSpike + href="http://deltaspike.apache.org/index.html">Apache DeltaSpike []
-

It’s possible to change this order and to add custom config sources.

+

It is possible to change this order and to add custom configuration sources.

-
-

Note: Important Hints esp. for custom implementations: - The -config-source with the highest ordinal gets used first. - If a custom +

+ + + + + +
+
Tip
+
+
Important Tips Especially for Custom Implementations
+- The config-source with the highest ordinal gets used first. - If a custom implementation should be invoked before the default implementations, -use an ordinal-value > 400 - If a custom implementation should be -invoked after the default implementations, use an ordinal-value < 100 +use an ordinal-value > 400. - If a custom implementation should be +invoked after the default implementations, use an ordinal-value < 100. - The ConfigResolver performs no caching. If your custom ConfigSource operation is expensive, then you might think about introducing some -caching.

+caching. +
-

Reordering of the default order of Config-Sources

+

Reordering of the Default Order of ConfigSources

To change the lookup order, you have to configure the ordinal in the -corresponding config source (e.g. to change the config ordinal of the -config source for system properties, you have to set the system property +corresponding configuration source (e.g. to change the configuration ordinal of the +configuration source for system properties, you have to set the system property with the ordinal key 'deltaspike_ordinal' and the new value).

Example with /META-INF/apache-deltaspike.properties: If the properties file/s should be used before the other implementations, you have to -configure an ordinal > 400. That means, you have to add e.g. +configure an ordinal > 400. That means, you have to add for example deltaspike_ordinal=401.

Each single property file is treated as own ConfigSource and thus can have different deltaspike_ordinal values!

-
-

Hint:

-
-
-

In case of property files which are supported by default +

+ + + + + +
+
Note
+
+In case of property files which are supported by default (/META-INF/apache-deltaspike.properties) every file is handled as independent config-source, but all of them have ordinal 400 by default -(and can be reordered in a fine-grained manner).

+(and can be reordered in a fine-grained manner). +
-

Custom Config-Sources

+

Custom ConfigSources

ConfigSources are picked up using the `java.util.ServiceLoader' mechanism.

@@ -495,7 +517,7 @@ into it.

If you need dynamic ConfigSources you can also register a ConfigSourceProvider in a similar way. This is useful if you like to -dynamically pick up multiple ConfigSources of the same kind. E.g. if you +dynamically pick up multiple ConfigSources of the same kind. For example, if you like to pick up all myproject.properties files from all the JARs in your classpath.

@@ -503,14 +525,20 @@ your classpath.

Please note that a single ConfigSource should be either registered directly or via a ConfigSourceProvider, but never both ways.

-
-

Important Hint:

-
-
-

Have a look at the abstract base-implementation of ConfigSource +

+ + + + + +
+
Tip
+
+Have a look at the abstract base-implementation of ConfigSource DeltaSpike is using internally, if a custom implementation should load the ordinal value from the config-source like the default -implementations provided by DeltaSpike do.

+implementations provided by DeltaSpike do. +

PropertyFileConfig

@@ -554,7 +582,7 @@ dependency to the module that contains t
-

Type-safe configuration

+

Type-safe Configuration

DeltaSpike provides a way to directly inject configured values into your