deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-1058 log an info in case of a global-alternative
Date Thu, 31 Dec 2015 15:53:14 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 95c406fdf -> 6561ee1ee


DELTASPIKE-1058 log an info in case of a global-alternative


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/6561ee1e
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/6561ee1e
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/6561ee1e

Branch: refs/heads/master
Commit: 6561ee1ee83ee0377ea9253bb806d26c2d82f11f
Parents: 95c406f
Author: gpetracek <gpetracek@apache.org>
Authored: Thu Dec 31 16:44:44 2015 +0100
Committer: gpetracek <gpetracek@apache.org>
Committed: Thu Dec 31 16:52:04 2015 +0100

----------------------------------------------------------------------
 .../deltaspike/core/impl/exclude/extension/ExcludeExtension.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/6561ee1e/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exclude/extension/ExcludeExtension.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exclude/extension/ExcludeExtension.java
b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exclude/extension/ExcludeExtension.java
index ea3eb29..f521665 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exclude/extension/ExcludeExtension.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exclude/extension/ExcludeExtension.java
@@ -289,6 +289,9 @@ public class ExcludeExtension implements Extension, Deactivatable
             //current bean is annotated with @Alternative and of the same type as the configured
bean
             if (isAlternativeBeanImplementation && alternativeBeanClass.equals(currentBean))
             {
+                LOG.info(processAnnotatedType.getAnnotatedType().getJavaClass().getName()
+
+                    " is configured as global-alternative");
+
                 //cdi 1.0
                 if (priorityAnnotationInstance == null)
                 {


Mime
View raw message