[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-115) Create a CDI Beans xml Descriptor
Nicklas Karlsson (JIRA)
jira-events at lists.jboss.org
Wed Apr 28 06:46:10 EDT 2010
[ https://jira.jboss.org/jira/browse/SHRINKWRAP-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527873#action_12527873 ]
Nicklas Karlsson commented on SHRINKWRAP-115:
---------------------------------------------
Wouldn't it be a start to be able to do something like
.addBeansXml().enableInterceptors(Foo.class, Bar.class).enableDecorators(...)
(or "fqn.Foo", "fqn.Bar")
instead of
.addManifestResource(new ByteArrayAsset("<beans><interceptors>...</interceptor></beans>".getBytes()), ArchivePaths.create("beans.xml"));
> Create a CDI Beans xml Descriptor
> ---------------------------------
>
> Key: SHRINKWRAP-115
> URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-115
> Project: ShrinkWrap
> Issue Type: Task
> Components: api, impl-base
> Reporter: Aslak Knutsen
>
> We should have a CDI bean xml Asset .
> ie:
> archive.as(CDIBeansDescriptor.class).addAlternative(Class)
> The tricky part here is that the CDI beans xml can be in multiple archive types(jar,war). it really just need a ManifestContainer/ClassContainer. As of now the extension loading assumes the constructor arg of the extension is a archive or another extension. ManifestContainer/ClassContainer is not a extension in it self.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list