[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:29:33 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/563880#563880

--------------------------------------------------------------
> IMO, I would move the initialization of default domain to a static block. In this block, I would also add the lib Archives after the default domain is created:
The initialization cannot be in a static block, since the libs provider is dynamic -- injected via MC beans.

> - if the libraries are loaded after ClasspathFactory, we won't enter the loop
OK, while this might save us from this curent loop,
having Classpath that refs itself seems like asking for another loop trouble.

Isn't there a better/safer aka proper way of doing this?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563880#563880]

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/efc94712/attachment.html 


More information about the jboss-dev-forums mailing list