[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: Implementing a non-flat deployment for Weld Integration
Flavia Rainone
do-not-reply at jboss.com
Wed Sep 29 07:33:56 EDT 2010
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&containerType=14&container=2116]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100929/2ceda1b8/attachment.html
More information about the jboss-dev-forums
mailing list