[weld-issues] [JBoss JIRA] Commented: (WELD-521) Introduce a way to exclude classes or packages from scanning

Morten Christensen (JIRA) jira-events at lists.jboss.org
Sun Jun 6 06:01:25 EDT 2010


    [ https://jira.jboss.org/browse/WELD-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12534099#action_12534099 ] 

Morten Christensen commented on WELD-521:
-----------------------------------------

I have a question about how we integrate this with the on-going Weld SE work so it will work in both JEE and JSE (and when eventually OSGI)?

Also, for the JSE/OSGI work that I am helping with, I think - at least for use by my own project - I will end up with implementing a configuration (list of bean classes). Such a plain list of classnames can be mapped into a bunch of includes but it might be better performance-wise to support both patterns and fully qualified class names directly in weld ? I.e. both a "pattern" attribute and a "name" attribute ?

Finally, in our examples we need to change the regular expressions as we forgot to escape the "." in package names. It should still work but let's be careful such an error won't escape into any documentation/tests at it would be confusing.

> Introduce a way to exclude classes or packages from scanning
> ------------------------------------------------------------
>
>                 Key: WELD-521
>                 URL: https://jira.jboss.org/browse/WELD-521
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Bootstrap and Metamodel API
>         Environment: Java SE and Java EE + weld
>            Reporter: Morten Christensen
>         Attachments: weld-se-ee-passifier.jar
>
>
> Better support for dual SE and EE applications. I have some weld-using jar's that can be deployed on a Java EE and work standalone. It is possible to get this to work using both weld SE and weld EE but it is a pain. F.x. when deployed under glassfish weld will fail unless I include a few weld SE dummy classes.... Weld should either combine weld SE and weld EE OR there should at least be some support for having weld ignoring some of my classes/packages depending on which environment it is running under.

-- 
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

        


More information about the weld-issues mailing list