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

Reply via email to