Community

Wildcard support in Dynamic-imports

reply from Ales Justin in JBoss Microcontainer Development - View the full discussion

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

Start a new discussion in JBoss Microcontainer Development at Community