[ 
https://issues.apache.org/jira/browse/SHINDIG-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599463#action_12599463
 ] 

David Primmer commented on SHINDIG-268:
---------------------------------------

In general, I get the feeling that he work we're doing to try to fix the 
initialization of the route system is working around the design problems in 
abdera. The route system is very new and has few implementations and I feel 
like we should get the abdrea devs, namely Dan Diephouse and James Snell 
involved in reviewing what we're trying to do and suggesting ways to change the 
framework. The RouteManager object itself, if you look at it, encompasses 
almost all the things we're trying to do and we're duplicating its internal 
structure in the enum. 

It has a map for route2ca, that is designed so that it cannot be set other than 
through one addRoute method. We're doing  a lot of code pushups to try to get 
everything just right to use this interface when we should be able to just 
use/inject the RouteManager and all it's internal objects, like the list of 
targets and the route2ca map. I looked into this for a day or so and there 
appeared to be some bootstrap issues around the Provider that required it to be 
setup before the RouteManager could be initialized but I can't remember what 
those were now. I'll try to get the abdera devs attention on this one.

> Refactor Route managment in the provider
> ----------------------------------------
>
>                 Key: SHINDIG-268
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-268
>             Project: Shindig
>          Issue Type: Improvement
>          Components: RESTful API (Java)
>            Reporter: David Primmer
>         Attachments: shindig-268_refactor_route_managment.patch, 
> useGuiceForRoutes.patch
>
>


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