The property can be set using the existing configuration (as we have the config before we register the service). But I decided now to simply add a message to the ResourceResolverFactory as this avoids a contract to the service registry and we stay in OSGi-less service API :)
Regards Carsten Bertrand Delacretaz wrote > Hi Carsten, > > On Wed, Mar 7, 2018 at 5:12 PM, Carsten Ziegeler <[email protected]> wrote: >> ...I suggest we simply add the search paths as a service >> registration property of the resource resolver factory. This makes >> getting this setting very easy without even getting a service... > > Sounds good but isn't there a potential backwards compatibility issue? > Or would you just set that property from the existing config? > > -Bertrand > -- Carsten Ziegeler Adobe Research Switzerland [email protected]
