[jboss-user] [JBoss Microcontainer Development] - Wildcard support in Dynamic-imports

Ales Justin do-not-reply at jboss.com
Wed Jun 9 06:12:49 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion

"Wildcard support in Dynamic-imports"

To view the discussion, visit: http://community.jboss.org/message/547021#547021

--------------------------------------------------------------
> Ales Justin wrote:
> 
> > 1) How to add this new RequirementDependencyItem (RDI) to existing Module's requirementDependencies? -- package protected
> I guess this is all done as part of RDI::resolve, if actually resolved.
> And there is no need to add this to initial Module?
Moving WildcardDelegateLoader to same package as Module helps, but is it OK / valid?

if (item.resolve(controller))
      {
         List<RequirementDependencyItem> items = module.getDependencies(); // should not be null, as this delegate was created from a requirement
         items.add(item);
         module.addIDependOn(item);


--------------------------------------------------------------

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

Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100609/89391be7/attachment-0001.html 


More information about the jboss-user mailing list