[
https://issues.apache.org/jira/browse/CLEREZZA-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015076#comment-13015076
]
Reto Bachmann-Gmür commented on CLEREZZA-460:
---------------------------------------------
Thanks Daniel for the patch, thanks to Tsuy for applying it. It might be better
to keep a map of renderingspecifications to rendelter registrations so that
RenderletManagerImpl nevers unregister renderlets register by other means, with
the current version if a bundle tries to override a RenderletManager-renderlet
the overriding service disappears when the bundle provideing the ssp it wants
to override gets restarted.
> Use whiteboard pattern for Renderlets
> -------------------------------------
>
> Key: CLEREZZA-460
> URL: https://issues.apache.org/jira/browse/CLEREZZA-460
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Reto Bachmann-Gmür
> Assignee: Reto Bachmann-Gmür
> Attachments: patch-typerendering-core.diff, renderletmgr_patch.diff
>
>
> The current mechanism for renderlets is overly complex. Instead of describing
> renderlets in a graph rendelets should be services that have properties
> indicating the rdf type and the mode-pattern they handle.
> The priority for selecting renderlets should be:
> - type, according to type-priority list
> - length of regex math (the matching regex with the most alphanumeric
> characters wins)
> - startlevel of the bundle providing the service
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira