[ 
https://issues.apache.org/jira/browse/TAMAYA-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anatole Tresch updated TAMAYA-317:
----------------------------------
    Summary: CDI/MP Injection with parameter annotated methods does not work  
(was: CDI Injection with parameter annotated methods does not work)

> CDI/MP Injection with parameter annotated methods does not work
> ---------------------------------------------------------------
>
>                 Key: TAMAYA-317
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-317
>             Project: Tamaya
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.3-incubating
>            Reporter: Anatole Tresch
>            Assignee: Anatole Tresch
>             Fix For: 0.4-incubating
>
>
> Injection of a configuration value does not work for the following case:
> {{@Inject
>     public void 
> setStringValue(@ConfigProperty(name="my.optional.string.property") 
> Optional<String> stringValue) {
>         this.stringValue = stringValue;
>     }}}
> Reason:
> * The custom extension does not recognize the method since it is checking 
> only on {{@ConfigProperty}} on method level (and does ignore parameter level.
> * The producer logic must be checked as well, not sure if it is able to 
> interpret the given {{InjectionPoint}} correctly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to