[ 
https://issues.apache.org/jira/browse/DELTASPIKE-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176350#comment-13176350
 ] 

Gerhard Petracek commented on DELTASPIKE-36:
--------------------------------------------

if we agree on a manual implementation, we can fix the first disadvantage.

e.g .

public class CustomConfiguredValueResolver implements ConfiguredValueResolver
{
  @Delegate //gets injected manually as soon as it is needed during the 
bootstrapping process of the cdi container
  private ConfiguredValueResolver defaultConfiguredValueResolver;

  //...
}

-> a custom implementation can delegate to the default implementation without 
knowing it
                
> review and discuss ConfiguredValueResolver
> ------------------------------------------
>
>                 Key: DELTASPIKE-36
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-36
>             Project: DeltaSpike
>          Issue Type: Task
>          Components: Core
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>
> for several features we need a pluggable config-service which has to be 
> independent of cdi because it's needed e.g. during the bootstrapping process 
> of a cdi container.
> an implementation is aware of a config source like property-files or xml 
> files or jndi values and has to return 1-n configured values for a given key.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to