Author: dblevins
Date: Tue Jun 14 03:04:56 2011
New Revision: 1135371

URL: http://svn.apache.org/viewvc?rev=1135371&view=rev
Log:
Validation key for missing message pertaining to ambiguous interface usage

Modified:
    
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties

Modified: 
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
URL: 
http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties?rev=1135371&r1=1135370&r2=1135371&view=diff
==============================================================================
--- 
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
 (original)
+++ 
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
 Tue Jun 14 03:04:56 2011
@@ -860,3 +860,7 @@ public interface {0} extends {2}'{}'
 1.xml.noEjbClass = Element <ejb-class> unspecified.
 2.xml.noEjbClass = Element <ejb-class> unspecified.  No annotated bean 
discovered with <ejb-name>{0}</ejb-name>
 3.xml.noEjbClass = The <ejb-class> element is only optional if there is a 
matching annotated bean in the module with the bean name {0}.  No such bean was 
found.  Other beans in this module are: {1}  
+
+1.ambiguousInterfaces = Abmiguous interface usage.
+2.ambiguousInterfaces = Abmiguous interface usage.  Apply @LocalBean to bean 
class or @Local or @Remote explicitly to at least one interface
+3.ambiguousInterfaces = Beans with multiple interfaces must explicitly 
indicate which type of view is required.  At least one of the interface classes 
must be directly annotated @Local or @Remote or the bean class itself must be 
annotated @LocalBean.  When in doubt annotate the bean class with @LocalBean.
\ No newline at end of file


Reply via email to