]
Aslak Knutsen updated ARQ-1921:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
pushed upstream
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
Assignee: Stefan Miklosovic
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.