You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2009/10/14 14:44:31 UTC
[jira] Commented: (JAMES-930) Refactor socket services to use
composition instead of inheritance (AbstractProtocolServer to become a
component)
[ https://issues.apache.org/jira/browse/JAMES-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765543#action_12765543 ]
Stefano Bagnara commented on JAMES-930:
---------------------------------------
A first step is done. Some more refactoring will be needed in each protocol function in order to stop inheriting from AbstractProtocolServer and start implementing ProtocolHandlerFactory.
> Refactor socket services to use composition instead of inheritance (AbstractProtocolServer to become a component)
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JAMES-930
> URL: https://issues.apache.org/jira/browse/JAMES-930
> Project: JAMES Server
> Issue Type: Task
> Components: IMAPServer, NNTPServer & Repository, POP3Server, Remote Manager, SMTPServer
> Affects Versions: 3.0
> Reporter: Stefano Bagnara
> Assignee: Stefano Bagnara
> Fix For: 3.0
>
>
> We should move from inheritance (done in JAMES-516) to composition for protocols and sockets.
> avalon-socket-library should be able to create a new socket service for a given protocol.
> socket <-> protocol should "talk" via service interfaces and no build time link should exists.
> This way we'll be able to introduce alternative socket handling libraries (like a MINA one). This is possible now that we moved to a line based push approach for the protocol: JAMES-750
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org