tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject tomee git commit: new inspectError OWB API
Date Wed, 04 Mar 2015 09:30:14 GMT
Repository: tomee
Updated Branches:
  refs/heads/develop 431c16566 -> 1ffd20101


new inspectError OWB API


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/1ffd2010
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/1ffd2010
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/1ffd2010

Branch: refs/heads/develop
Commit: 1ffd20101f5690a015df5ce0eb09d78fe8968c42
Parents: 431c165
Author: Romain Manni-Bucau <rmannibucau@apache.org>
Authored: Wed Mar 4 10:30:02 2015 +0100
Committer: Romain Manni-Bucau <rmannibucau@apache.org>
Committed: Wed Mar 4 10:30:02 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/cdi/CdiPlugin.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/1ffd2010/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiPlugin.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiPlugin.java b/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiPlugin.java
index 95bc6fe..f93645d 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiPlugin.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiPlugin.java
@@ -328,8 +328,8 @@ public class CdiPlugin extends AbstractOwbPlugin implements OpenWebBeansJavaEEPl
         final Map<ProducerMethodBean<?>, AnnotatedMethod<?>> annotatedMethods
= new HashMap<>();
         for (final ProducerMethodBean<?> producerMethod : producerMethods) {
             final AnnotatedMethod<?> method = webBeansContext.getAnnotatedElementFactory().newAnnotatedMethod(producerMethod.getCreatorMethod(),
annotatedType);
-            webBeansUtil.inspectErrorStack("There are errors that are added by ProcessProducer
event observers for "
-                + "ProducerMethods. Look at logs for further details");
+            webBeansUtil.inspectDeploymentErrorStack("There are errors that are added by
ProcessProducer event observers for "
+                    + "ProducerMethods. Look at logs for further details");
 
             annotatedMethods.put(producerMethod, method);
         }
@@ -339,8 +339,8 @@ public class CdiPlugin extends AbstractOwbPlugin implements OpenWebBeansJavaEEPl
             if (!Modifier.isStatic(producerField.getCreatorField().getModifiers())) {
                 throw new DefinitionException("In an EJB all producer fields should be static");
             }
-            webBeansUtil.inspectErrorStack("There are errors that are added by ProcessProducer
event observers for"
-                + " ProducerFields. Look at logs for further details");
+            webBeansUtil.inspectDeploymentErrorStack("There are errors that are added by
ProcessProducer event observers for"
+                    + " ProducerFields. Look at logs for further details");
 
             annotatedFields.put(producerField,
                 webBeansContext.getAnnotatedElementFactory().newAnnotatedField(
@@ -365,19 +365,19 @@ public class CdiPlugin extends AbstractOwbPlugin implements OpenWebBeansJavaEEPl
         final GProcessSessionBean event = new GProcessSessionBean(Bean.class.cast(bean),
annotatedType, bc.getEjbName(), bean.getEjbType());
         beanManager.fireEvent(event, true);
         event.setStarted();
-        webBeansUtil.inspectErrorStack("There are errors that are added by ProcessSessionBean
event observers for managed beans. Look at logs for further details");
+        webBeansUtil.inspectDeploymentErrorStack("There are errors that are added by ProcessSessionBean
event observers for managed beans. Look at logs for further details");
 
         //Fires ProcessProducerMethod
         webBeansUtil.fireProcessProducerMethodBeanEvent(annotatedMethods, annotatedType);
-        webBeansUtil.inspectErrorStack("There are errors that are added by ProcessProducerMethod
event observers for producer method beans. Look at logs for further details");
+        webBeansUtil.inspectDeploymentErrorStack("There are errors that are added by ProcessProducerMethod
event observers for producer method beans. Look at logs for further details");
 
         //Fires ProcessProducerField
         webBeansUtil.fireProcessProducerFieldBeanEvent(annotatedFields);
-        webBeansUtil.inspectErrorStack("There are errors that are added by ProcessProducerField
event observers for producer field beans. Look at logs for further details");
+        webBeansUtil.inspectDeploymentErrorStack("There are errors that are added by ProcessProducerField
event observers for producer field beans. Look at logs for further details");
 
         //Fire ObservableMethods
         webBeansUtil.fireProcessObservableMethodBeanEvent(observerMethodsMap);
-        webBeansUtil.inspectErrorStack("There are errors that are added by ProcessObserverMethod
event observers for observer methods. Look at logs for further details");
+        webBeansUtil.inspectDeploymentErrorStack("There are errors that are added by ProcessObserverMethod
event observers for observer methods. Look at logs for further details");
 
         if (!webBeansUtil.isAnnotatedTypeDecoratorOrInterceptor(annotatedType)) {
             for (final ProducerMethodBean<?> producerMethod : producerMethods) {


Mime
View raw message