Felix Meschberger wrote:
> Hi,
>
> On 09.03.2010 09:34, Carsten Ziegeler wrote:
>> Is everyone fine if we add the following interface to the API?
>>
>> interface ResourceDecorator {
>> Resource decorade(Resource)
>> Resource decorade(Resource, HttpServletRequest)
>> }
>>
>> This would be analogue to the ResourceResolver interface.
>
> +1
>
> One question: the decorator would be called for all methods returning
> Resource instances, right ? That is, besides getResource and resolve()
> it would also be called for the resources returned by findResource.
>
Yes, and also for the list children etc.
Carsten
--
Carsten Ziegeler
[email protected]