james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-2547) Replace concrete PropertiesConfiguration type by Configuration interface in PropertiesProvider
Date Mon, 17 Sep 2018 06:36:00 GMT

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

Antoine Duprat closed JAMES-2547.
---------------------------------

> Replace concrete PropertiesConfiguration type by Configuration interface in PropertiesProvider
> ----------------------------------------------------------------------------------------------
>
>                 Key: JAMES-2547
>                 URL: https://issues.apache.org/jira/browse/JAMES-2547
>             Project: James Server
>          Issue Type: Improvement
>          Components: configuration
>            Reporter: Jean Helou
>            Priority: Major
>             Fix For: 3.2.0
>
>
> This makes testing configuration components easier.
> For exemple  subclassing  PropertiesProvider to make it return an in memory configuration
such as a MapConfiguration instead of being bound to the concrete PropertiesConfiguration
implementation.
> I have found no place in the project where relying on the concrete type is actually useful.
All uses were replaceable by the interface or by a static call to the top of the hierarchy
(AbstractConfiguration).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message