[JBoss JIRA] (ARQ-1921) ResourceProvider SPI should differentiate between Class and Method injection
by Stefan Miklosovic (JIRA)
[ https://issues.jboss.org/browse/ARQ-1921?page=com.atlassian.jira.plugin.s... ]
Stefan Miklosovic commented on ARQ-1921:
----------------------------------------
[~aslak] you mean like you get it in lookup method in "Annotation... qualifiers" parameter? How these annotations would be called? I can look at it.
> ResourceProvider SPI should differentiate between Class and Method injection
> ----------------------------------------------------------------------------
>
> Key: ARQ-1921
> URL: https://issues.jboss.org/browse/ARQ-1921
> Project: Arquillian
> Issue Type: Feature Request
> Components: Runtime Enricher SPI
> Affects Versions: 1.1.7.Final
> Reporter: Aslak Knutsen
> Fix For: 1.1.8.Final
>
>
> If a ResourceEnricher wants to have differently scoped objects based on this being injected on Class level or Method level the ResourceProvider SPI needs to relay this information somehow. Currently this is hidden.
> An easy fix without breaking the SPI signature would be to add a Class/Method Qualifier annotation that's auto provided by the ResourceProvider impl.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)