JBoss Community

Re: Implementing a non-flat deployment for Weld Integration

created by Ales Justin in JBoss Microcontainer Development POJO Server - View the full discussion
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

Start a new discussion in JBoss Microcontainer Development POJO Server at Community