You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2005/12/19 08:17:23 UTC

[jira] Created: (DIRMINA-148) Provide global service registry which provides IoAcceptors and IoConnectors using Java SPI.

Provide global service registry which provides IoAcceptors and IoConnectors using Java SPI.
-------------------------------------------------------------------------------------------

         Key: DIRMINA-148
         URL: http://issues.apache.org/jira/browse/DIRMINA-148
     Project: Directory MINA
        Type: Improvement
    Versions: 0.9    
    Reporter: Trustin Lee
    Priority: Minor
     Fix For: 0.9.1


After continuing refactoring of API, we found out that the use of ServiceRegistry interface doesn't help us to implement bootstrap codes easily.  What we really need is a global service registry which can get you to IoAcceptor or IoConnector for the transport type you want, and the returned IoAcceptor and IoConnector will have to be pre-configured for certain set of filters such as thread pool filter or logging filter based on user input (extra parameters?).

With DIRMINA-147, we won't need registry package anymore.

Using Java SPI (Service Provider Interface), we will also have no need to configure all IoAcceptors and IoConnectors statically.  We'll provide the information to activate the SPI for certain transport type providers, and then the global registry will detect them in runtime automatically.  (Just like Java Image I/O or JDBC 4 does)  This will increase the extensibility of MINA dramatically with the help of DIRMINA-147.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DIRMINA-148) Provide global service registry which provides IoAcceptors and IoConnectors using Java SPI.

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-148?page=all ]

Trustin Lee updated DIRMINA-148:
--------------------------------

    Fix Version: 0.9.2
                     (was: 0.9.1)

> Provide global service registry which provides IoAcceptors and IoConnectors using Java SPI.
> -------------------------------------------------------------------------------------------
>
>          Key: DIRMINA-148
>          URL: http://issues.apache.org/jira/browse/DIRMINA-148
>      Project: Directory MINA
>         Type: Improvement
>     Versions: 0.9
>     Reporter: Trustin Lee
>     Priority: Minor
>      Fix For: 0.9.2

>
> After continuing refactoring of API, we found out that the use of ServiceRegistry interface doesn't help us to implement bootstrap codes easily.  What we really need is a global service registry which can get you to IoAcceptor or IoConnector for the transport type you want, and the returned IoAcceptor and IoConnector will have to be pre-configured for certain set of filters such as thread pool filter or logging filter based on user input (extra parameters?).
> With DIRMINA-147, we won't need registry package anymore.
> Using Java SPI (Service Provider Interface), we will also have no need to configure all IoAcceptors and IoConnectors statically.  We'll provide the information to activate the SPI for certain transport type providers, and then the global registry will detect them in runtime automatically.  (Just like Java Image I/O or JDBC 4 does)  This will increase the extensibility of MINA dramatically with the help of DIRMINA-147.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira