[
https://issues.apache.org/jira/browse/SSHD-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor resolved SSHD-675.
---------------------------------
Resolution: Fixed
> Provide default implementations for overloaded configuration methods on
> Client/ServerFactoryManager interfaces
> --------------------------------------------------------------------------------------------------------------
>
> Key: SSHD-675
> URL: https://issues.apache.org/jira/browse/SSHD-675
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 1.3.0
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Labels: features
> Fix For: 1.3.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Use Java 8 and the default methods mechanism to provide "configuration"
> methods on {{Client/ServerFactoryManager}} so that they can be easily
> exported as Spring beans - e.g.:
> {code:java}
> default void setCompressionFactories(String list) {
> setCompressionFactories(GenericUtils.split(list, ', '));
> }
> default void setCompressionFactories(String ... names) {
> setCompressionFactories(parseCompressionFactoriesNames(names));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)