Provide an abstraction between implementations and the configurations they use
------------------------------------------------------------------------------

                 Key: SHINDIG-1647
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1647
             Project: Shindig
          Issue Type: New Feature
          Components: Java
    Affects Versions: 3.0.0
            Reporter: Stanton Sievers
             Fix For: 3.0.0


Add an abstraction layer between implementations and configuration.  The patch 
consists of an abstract class and some interfaces that are used to read and 
observe ContainerConfig.  Implementors of this class could decide to read their 
configuration from ContainerConfig or provide values from another source.  This 
also allows code that needs to use configuration to not have to worry about 
managing container.js keys.  They can simply ask their provider for values.

I've separated this out from another review as it is generic.  To see an 
implementation of ValueProvider, you can look at this review: 
https://reviews.apache.org/r/2362

--
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