Author: akazakov
Date: 2010-07-02 15:39:11 -0400 (Fri, 02 Jul 2010)
New Revision: 23206
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/errorList.txt
Log:
https://jira.jboss.org/jira/browse/JBIDE-2708 Added new validation rule: bean with scope
@Dependent has an observer method declared notifyObserver=IF_EXISTS
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/errorList.txt
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/errorList.txt 2010-07-02
19:36:13 UTC (rev 23205)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/errorList.txt 2010-07-02
19:39:11 UTC (rev 23206)
@@ -95,12 +95,12 @@
- producer field declaration specifies an EL name (together with one of
@Resource, @PersistenceContext, @PersistenceUnit, @EJB, @WebServiceRef)
- matching object in the Java EE component environment is not of the same type
- as the producer field declaration
+ as the producer field declaration (JBT: let's ignore this rule so far since we
don't have any good tool to recognize such components)
3.6. Additional built-in beans
- Java EE component class has an injection point of type UserTransaction
and qualifier @Default, and may not validly make use of the JTA UserTransaction
- according to the Java EE platform specification
+ according to the Java EE platform specification (JBT: let's ignore this rule so far
since we don't have any good tool to recognize such components)
3.7.1. Declaring a bean constructor
- bean class has more than one constructor annotated @Inject
@@ -184,10 +184,8 @@
and the method is not a business method of the EJB
- interceptor or decorator has a method with a parameter annotated @Observes
-
-
10.4.3. Conditional observer methods
- bean with scope @Dependent has an observer method declared notifyObserver=IF_EXISTS
12.1. Bean archives
-- bean class is deployed in two different bean archives (Non-Portable behavior)
\ No newline at end of file
+- bean class is deployed in two different bean archives (Non-Portable behavior) - (JBT:
let's ignore this rule so far since we don't have any good tool to recognize such
components)
\ No newline at end of file