[weld-issues] [JBoss JIRA] Closed: (WELD-752) Registering an interceptor in beans.xml from a Jar;
Pete Muir (JIRA)
jira-events at lists.jboss.org
Mon Dec 6 16:35:02 EST 2010
[ https://jira.jboss.org/browse/WELD-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed WELD-752.
--------------------------
> 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
> Labels: interceptors
> Fix For: 1.1.0.Beta2
>
> Attachments: stack.txt
>
>
> 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 (org.jboss.weld.exceptions.DeploymentException: WELD-001416 Enabled interceptor class [<class>br.gov.frameworkdemoiselle.internal.interceptor.TransactionInterceptor</class>)
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list