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 13:08:31 UTC
[jira] Created: (JAMES-930) Refactor socket services to use
composition instead of inheritance (AbstractProtocolServer to become a
component)
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
[jira] Resolved: (JAMES-930) Refactor socket services to use
composition instead of inheritance (AbstractProtocolServer to become a
component)
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved JAMES-930.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0)
3.0-M1
Assignee: Norman Maurer (was: Stefano Bagnara)
done in trunk
> 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: Norman Maurer
> Fix For: 3.0-M1
>
>
> 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
[jira] Commented: (JAMES-930) Refactor socket services to use
composition instead of inheritance (AbstractProtocolServer to become a
component)
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ 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