[ 
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.

Reply via email to