Hi Bertrand,

On Mon, Jan 26, 2015 at 11:57 AM, Bertrand Delacretaz <
[email protected]> wrote:
>
> > ....How about creating ParametrizableResourceProvider with the extended
> get()
> > method? If there are some parameters and the ResourceProvider implements
> > also PRP, the resource resolver will invoke the new get() method...
>
> Shouldn't PRP also extend getResource(ResourceResolver,
> HttpServletRequest, String) ?
>

I'm not sure about this. The request-aware method is already marked as
deprecated since 2.2.0 and there is a Javadoc stating that this method
won't be invoked anymore. Do we want to burden the new interface with this
legacy?

Regards,
Tomek

-- 
Tomek Rękawek
Senior Software Engineer

Cognifide Polska Sp. z o.o.
skype: trekawek

www.cognifide.com

Reply via email to