You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2016/07/14 04:15:20 UTC
[jira] [Created] (SSHD-675) Provide default implementations for
overloaded configuration methods on Client/ServerFactoryManager interfaces
Goldstein Lyor created SSHD-675:
-----------------------------------
Summary: 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
Fix For: 1.3.0
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)