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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to