Author: akazakov
Date: 2010-01-27 13:18:06 -0500 (Wed, 27 Jan 2010)
New Revision: 19967
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
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-01-27
18:05:58 UTC (rev 19966)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/errorList.txt 2010-01-27
18:18:06 UTC (rev 19967)
@@ -1,10 +1,12 @@
Definition Errors
-
2.2.2. Restricting the bean types of a bean
- bean class or producer method or field specifies a @Typed annotation,
and the value member specifies a class which does not correspond to a type
in the unrestricted set of bean types of a bean
+2.4.1. Built-in scope types
+- interceptor or decorator has any scope other than @Dependent (Non-Portable behavior)
+
2.4.3. Declaring the bean scope
- bean class or producer method or field specifies multiple scope type annotations
@@ -12,11 +14,19 @@
- bean does not explicitly declare a scope when there is no default scope
(there are two different stereotypes declared by the bean that declare different
default scopes)
+2.5.3. Beans with no EL name
+- interceptor or decorator has a name (Non-Portable behavior)
+
+2.6.1. Declaring an alternative
+- interceptor or decorator is an alternative (Non-Portable behavior)
+
2.7.1.1. Declaring the default scope for a stereotype
- stereotype declares more than one scope
2.7.1.3. Declaring a @Named stereotype
-- stereotype declares a non-empty @Named annotation
+- stereotype declares a non-empty @Named annotation (Non-Portable behavior)
+- stereotype declares any other qualifier annotation
+- stereotype is annotated @Typed
3.1. Managed beans
- the bean class of a managed bean is annotated with both
@@ -29,7 +39,6 @@
the bean class of another managed bean
3.2. Session beans
-
- session bean specifies an illegal scope (a stateless session bean must belong
to the @Dependent pseudo-scope; a singleton bean must belong to either the
@ApplicationScoped scope or to the @Dependent pseudo-scope, a stateful session
@@ -110,10 +119,14 @@
4.3.1. Direct and indirect specialization
- X specializes Y but does not have some bean type of Y
- X specializes Y and Y has a name and X declares a name explicitly, using @Named
+- interceptor or decorator is annotated @Specializes (Non-Portable behavior)
5.2.2. Legal injection point types
- injection point type is a type variable
+5.2.5. Qualifier annotations with members
+- array-valued or annotation-valued member of a qualifier type is not annotated
@Nonbinding (Non-Portable behavior)
+
5.5.7. Injection point metadata
- bean that declares any scope other than @Dependent has an injection point of type
InjectionPoint and qualifier @Default
@@ -134,6 +147,7 @@
9.2. Declaring the interceptor bindings of an interceptor
- interceptor for lifecycle callbacks declares an interceptor binding type
that is defined @Target({TYPE, METHOD})
+- interceptor declared using @Interceptor does not declare any interceptor binding
(Non-Portable behavior)
9.3. Binding an interceptor to a bean
- managed bean has a class level interceptor binding and is declared final
@@ -146,6 +160,8 @@
inherited from stereotypes and other interceptor bindings, has two instances
of a certain interceptor binding type and the instances have different values
of some annotation member
+- array-valued or annotation-valued member of an interceptor binding type
+ is not annotated @Nonbinding (Non-Portable behavior)
10.4.2. Declaring an observer method
- method has more than one parameter annotated @Observes
@@ -157,34 +173,5 @@
10.4.3. Conditional observer methods
- bean with scope @Dependent has an observer method declared receive=IF_EXISTS
-Non-Portable behavior
-
-2.4.1. Built-in scope types
-- interceptor or decorator has any scope other than @Dependent
-
-2.5.3. Beans with no EL name
-- interceptor or decorator has a name
-
-2.6.1. Declaring an alternative
-- interceptor or decorator is an alternative
-
-2.7.1.3. Declaring a @Named stereotype
-- stereotype declares any other qualifier annotation
-- stereotype is annotated @Typed
-
-4.3.1. Direct and indirect specialization
-- interceptor or decorator is annotated @Specializes
-
-5.2.5. Qualifier annotations with members
-- array-valued or annotation-valued member of a qualifier type is not annotated
@Nonbinding
-
-9.2. Declaring the interceptor bindings of an interceptor
-- interceptor declared using @Interceptor does not declare any interceptor binding
-
-9.5.2. Interceptor binding types with members
-- array-valued or annotation-valued member of an interceptor binding type
- is not annotated @Nonbinding
-
12.1. Bean archives
-- bean class is deployed in two different bean archives
-
+- bean class is deployed in two different bean archives (Non-Portable behavior)
\ No newline at end of file