You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Otis Gospodnetic (JIRA)" <ji...@apache.org> on 2010/12/24 05:48:46 UTC

[jira] Commented: (DROIDS-108) Factory Pattern Usage

    [ https://issues.apache.org/jira/browse/DROIDS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974845#action_12974845 ] 

Otis Gospodnetic commented on DROIDS-108:
-----------------------------------------

+1
Without being too familiar with Droids impl (but I've seen the factories you mention used in our code that uses Droids), the above makes sense.

> Factory Pattern Usage
> ---------------------
>
>                 Key: DROIDS-108
>                 URL: https://issues.apache.org/jira/browse/DROIDS-108
>             Project: Droids
>          Issue Type: Improvement
>          Components: core
>            Reporter: Bertil Chapuis
>
> Droids use the factory pattern for filters, parsers, protocols, etc. Since all these objects are then used by the worker, it may make sense to replace the method Droid.newWorker() and all the current factories by a single WorkerFactory that creates a worker and set all its components (protocol, parser, filter, etc.).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.