[ https://issues.apache.org/jira/browse/LABS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031845#comment-14031845 ]
jan iversen commented on LABS-192: ---------------------------------- Is this still an issue, if not please close it (or let me close it) > WEB: Merge handler and producers in a single hierarchy > ------------------------------------------------------ > > Key: LABS-192 > URL: https://issues.apache.org/jira/browse/LABS-192 > Project: Labs > Issue Type: Improvement > Components: Magma > Affects Versions: Current > Reporter: Simone Gianni > Assignee: Simone Gianni > Fix For: Next > > Original Estimate: 0h > Remaining Estimate: 0h > > Having them separated makes a lot of stuff complex, and duplicates a lot of > code since both have very similar parameters (like the creating handler, the > base and complete path etc..). > The system could consider the handler a kind of producer which is further > resolvable to obtain yet another producer, until the resulting producer is > not resolvable anymore. > So, the common interface could contain a single method "resolve", which will > ultimately return a non resolvable producer, either the same producer that > has been called or null if the request is not resolvable. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org For additional commands, e-mail: labs-h...@labs.apache.org