On Tue, 2008-09-16 at 13:34 -0400, Ryan McKinley wrote:
> I've been going through the droids API trying to limit global access.   
> For an inability to explain all my thoughts, I put a functional sketch  
> on:
> 
>   http://svn.apache.org/viewvc?view=rev&revision=695984
> 
> I'm not totally happy with the names, but its a start...
> 
> Some of the big changes to note:
> 
> * The task management stuff is pulled out of AbstractDroid and added  
> to TaskMaster.java / MultiThreadedTaskMaster.java

I like the clarity of the API and I especially like the taskMaster. 

>    * the taskCompleted callback is removed and handled directly within  
> MultiThreadedTaskMaster

I like the taskMaster. :)

> * The worker interface is simplified to execute( Task )
>     
> http://svn.apache.org/viewvc/labs/droids/trunk/src/core/java/org/apache/droidsX/api/Worker.java?view=markup&pathrev=695984
> 
> 
> modify main() in FileSystemWalker.java to see it go.

main("/YoUr/Path") since revision 696838.

> 
> The advantages to these API changes is that each component only has  
> access to what it needs -- this will make testing much easier and more  
> clear.

Yeah it is nice.

> thoughts?

We should try a crawler with it and see where we need to adjust some
things. 

Making this walker more generic and promote it to an AbstractWalker
should be next. 

I like, we should incorporate it ASAP in the core. 

salu2

> ryan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to