Flavia Rainone [
http://community.jboss.org/people/flavia.rainone%40jboss.com] created the
discussion
"Re: Implementing a non-flat deployment for Weld Integration"
To view the discussion, visit:
http://community.jboss.org/message/563989#563989
--------------------------------------------------------------
As the pseudocode below shows, we need to know which services should be added to the lib
BDAs:
Flavia Rainone wrote:
Roughly speaking, this is how we would fill in the gaps of the TODO mark you added in
your getLibraries method:
...
// finally create the Archive
Archive archive = ArchiveFactory.createArchive(archiveInfo, *new*
ArrayList<EjbDescriptor<?>>());
// ... and the corresponding BDA
ServiceRegistry serviceRegistry = *new* SimpleServiceRegistry();
// TODO: fill in serviceRegistry? With which services?
libs.add(archive.createBeanDeploymentArchive(serviceRegistry));
Right now, Ales is getting the following error because of the missing services:
IllegalStateException: WELD-000117 Required service
org.jboss.weld.injection.spi.ResourceInjectionServices
has not been specified
Pete or Marius, do you know which services we need to add to these BDAs?
This is one of the final missing pieces to close this issue :-)
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563989#563989]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]