Registering an interceptor in beans.xml from a Jar;
---------------------------------------------------

                 Key: WELD-752
                 URL: https://jira.jboss.org/browse/WELD-752
             Project: Weld
          Issue Type: Bug
          Components: Bootstrap and Metamodel API, CDI API
    Affects Versions: 1.1.0.Beta2
         Environment: Ubuntu, Weld-servlet and Weld-SE
            Reporter: Robson Saraiva Ximenes
             Fix For: 1.1.0.Beta2


I have a jar with an Interception class registered in META/INF/beans.xml;

My web app has this jar into classpath, but when I deploy some problems show up.

1 - Registering the interceptor inside the JAR/META-INF/beans.xml: notthing 
happend and the interceptor is not registered

2 - Registering the interceptor in WEB-INF/META-INF/beans.xml: throws an 
exception duplicated exception

I believe that the best way is to merge all beans.xml and give a way of 
programmatically resolve any conflict;

P.S: It works for Weld-se but not to Weld-servlet!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to