On Tue, Apr 22, 2014 at 2:10 PM, Sampo Savolainen <
[email protected]> wrote:
> Hi,
>
> This looks pretty straightforward. To implement this, I guess I would have
> to do the following
> 1. Create an extension module under geoserver for wfs-ng (there's no such
> extensionsion yet)
> 2. Have that extension depend on gt-wfs-ng
> 3. Include code in the extension which registers the XStreamPersisters
> required
>
> The code in 3. would serialize & deserialize the configuration objects.
> This glue would need to live in the geoserver extension as XStreamPersister
> is part of gs, not gt. The actual configuration objects would be part of
> gs-wfs-ng.
>
Correct, pretty much like for VirtualTable in JDBC land. I guess you might
need one extension point more to configure the
types in the store, like we do for VirtualTable in ResourcePool
>
> Is configuring the XStreamPersisterInitializer impl as a spring bean
> enough to get the initializer registered?
>
It shoul.d
>
> What about name collision? This mechanism seems to register all
> XStreamPersisterInitializers for all XStream persisters. Isn't there a
> danger that an extension might register a name already in use for another
> extension?
>
There is, but it has never been a problem so far, people just pay attention
to provide unique enough names in
the spring context (it's not like geoserver has 100s of plugins)
Cheers
Andrea
--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel