[
https://issues.jboss.org/browse/ARQ-1921?page=com.atlassian.jira.plugin.s...
]
Aslak Knutsen commented on ARQ-1921:
------------------------------------
[~smikloso] yea, I was just thinking adding two inner annotations to the ResourceProvider
interface. Then passing them down as part of the Qualifiers. Perhaps named something like
Class|MethodType. or Class|MethodInjection
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)