Hi, Does Weld support something like Spring's ROLE_INFRASTRUCTURE and APPLICATION? I ask that because Spring uses this feature to resolve dependencies. If you are building a framework using CDI as injection provider, this would be a nice feature. The framework can provide its components and, if the application wants, this component could be overriden without any additional configuration.
What do you think?
Other thing that i thought. If two classes have qualifiers to be injected in some injectionpoint, the last resolution rule could be: "If a class has 2 qualifiers and other has 3 and both are candidates for a injectionpoint with 2 of those qualifiers, the class with 2 should have its object injected"