[
https://issues.apache.org/jira/browse/TAMAYA-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anatole Tresch resolved TAMAYA-137.
-----------------------------------
Resolution: Done
> Enhance filter API adding a FilterContext
> -----------------------------------------
>
> Key: TAMAYA-137
> URL: https://issues.apache.org/jira/browse/TAMAYA-137
> Project: Tamaya
> Issue Type: Improvement
> Components: API
> Affects Versions: 0.1-incubating
> Reporter: Anatole Tresch
> Assignee: Anatole Tresch
> Fix For: 0.2-incubating
>
>
> As discussed oin the mailing list there are use cases where a
> {{PropertyFilter}}, similar to {{PropertyConverter}} requires additional
> (meta)data to be available, so it can implement the correct filtering. This
> can be solved by introducing a {{FilterContext}}. As a result the SPI is
> changed from
> {noformat}
> public String filter(String key, String valueToBeFiltered);
> {noformat}
> to
> {noformat}
> public String filter(String valueToBeFiltered, FilterContext context);
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)