[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: Implementing a non-flat deployment for Weld Integration

Ales Justin do-not-reply at jboss.com
Wed Sep 29 07:14:22 EDT 2010


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&containerType=14&container=2116]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100929/053fa367/attachment.html 


More information about the jboss-dev-forums mailing list