Ales Justin [
http://community.jboss.org/people/alesj] created the discussion
"Re: Implementing a non-flat deployment for Weld Integration"
To view the discussion, visit:
http://community.jboss.org/message/563998#563998
--------------------------------------------------------------
Let me try no-op ServiceRegistry first ...
This looks like it
might work.
But then I hit another issue: BeanDeploymentArchiveImpl::getBeansXml
public BeansXml getBeansXml()
{
Collection<URL> urls = archive.getXmlURLs();
if (urls.isEmpty())
{
return BeansXml.EMPTY_BEANS_XML;
}
return bootstrap.parse(urls);
}
The problem is that lib BDAs don't have bootstrap.
And bootstrap impl is only available in weld-core, which is dynamically added to
deployments != libs.
I could duplicate all beans xml parsing logic from weld-core,
but I don't see a reason why this couldn't be put into spi?
Pete?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563998#563998]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]