Alexandre:

The original proposal had example code snippets; and I did my best to add
very good javadocs for using ResourceStore.
 -
https://github.com/geoserver/geoserver/wiki/GSIP-106
-
https://github.com/geoserver/geoserver/wiki/ResourceStore-API-Examples

As shown in the examples it is really nice if you can adapt your code to
use input streams directly; but the method file() is available that unpacks
the file to the local data directory location for code (such as our
freemarker template engine which really wanted a local file).

--
Jody

On Wed, Aug 17, 2022 at 4:07 PM Alexandre Gacon <alexandre.ga...@gmail.com>
wrote:

> Hello,
>
> Is there any guideline on how to evolve an existing module to make it
> compatible with the jdbcstore community extension?
>
> I need to use the feature-pregeneralized extension with this store and for
> the moment it does not work.
>
> The extension currently uses the Resources.find method to find a reference
> to the configuration file: I assume I shall change the code to use a class
> derived from
> org.geoserver.platform.resource.ResourceStore
>
> instead
>
> --
> Alexandre Gacon
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
-- 
--
Jody Garnett
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to