[
https://issues.apache.org/jira/browse/SHINDIG-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Hjelmstad updated SHINDIG-507:
-----------------------------------
Attachment: rewriter-registry.patch
Mixing steps around again, the attached patch introduces a
ContentRewriterRegistry interface which is implemented by default by
BasicContentRewriterRegistry.
Plumbing is changed such that a ContentRewriterRegistry instance, rather than a
ContentRewriter, is injected into the appropriate control flows --
BasicGadgetSpecFactory for gadget render rewriting, and AbstractHttpCache for
makeRequest rewriting. These flows utilize an ordered list of rewriters to do
their business.
Since the default constructor of BasicContentRewriterRegistry injects the
already-injected "default" ContentRewriter, this change simply turns a
singleton into a list: no semantics are modified.
> Modularize Content Rewriter with ContentRewriterRegistry
> --------------------------------------------------------
>
> Key: SHINDIG-507
> URL: https://issues.apache.org/jira/browse/SHINDIG-507
> Project: Shindig
> Issue Type: Sub-task
> Components: Gadget Rendering Server (Java)
> Reporter: John Hjelmstad
> Assignee: John Hjelmstad
> Attachments: rewriter-registry.patch
>
>
> Part #8 of
> http://mail-archives.apache.org/mod_mbox/incubator-shindig-dev/200808.mbox/[EMAIL
> PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.