[
https://issues.apache.org/jira/browse/TAMAYA-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anatole Tresch resolved TAMAYA-136.
-----------------------------------
Resolution: Fixed
> Return structure when accessing a singletPropertyValue
> ------------------------------------------------------
>
> Key: TAMAYA-136
> URL: https://issues.apache.org/jira/browse/TAMAYA-136
> Project: Tamaya
> Issue Type: Bug
> Components: API
> Affects Versions: 0.1-incubating
> Reporter: Anatole Tresch
> Assignee: Anatole Tresch
> Fix For: 0.2-incubating
>
>
> Return structure when accessing a singlet PropertyValue from the
> PropertySource SPI. So
> {noformat}String get/String key){noformat}
> will be changed to
> {noformat}
> PropertyValue get(String key);
> {noformat}
> This allows the SPI to deal with additional metadata in a similar way as it
> is possible, when accessing all properties using {{Map<String,String>
> getProperties();}}.
> A {{PropertyValue}} hereby is designed as an immutable value object containing
> * the requested key ({{String}})
> * the value ({{String}})
> * the {{Map<String,String>}} representing any kinf of additional context data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)