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 2015/06/30 12:28:04 UTC

[jira] [Resolved] (SSHD-509) Use targeted derived NamedFactory(ies) for the various generic parameters

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

Goldstein Lyor resolved SSHD-509.
---------------------------------
    Resolution: Fixed

This will also facilitate adding specific methods in the future should we need to.

> Use targeted derived NamedFactory(ies) for the various generic parameters
> -------------------------------------------------------------------------
>
>                 Key: SSHD-509
>                 URL: https://issues.apache.org/jira/browse/SSHD-509
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>             Fix For: 1.0.0
>
>
> E.g. {code:java}
> public interface ChannelFactory extends NamedFactory<Channel> {
> ...
> }{code} as this makes the code more readable and easier to navigate - e.g., easy to find all _NamedFactory<Channel>_. *Note:* the internal code will still use the generic __NamedFactory<T>_ interface, but *implementations* will use the "extended" interface. E.g. {code:java}
> public class ChannelSessionFactory implements ChannelFactory {
> }{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)