Justin,
I can’t seem to find out the WMS/WFS URL to a layergroup so I can publish the fact that a layergroup was added to Geoserver.
How do you do that?
Also, I was wondering when I get my jar file packaged and ready…do I just drop in the module in the lib folder and see Geoserver pick up my extension?
I assume I will have to use dependency injection to inject the CatalogImpl value so I can register my listener with it.
Ronak
Patel, Ronak Avinash (US SSA) ha scritto:
Justin,
I can’t seem to find out the WMS/WFS URL to a layergroup so I can publish the fact that a layergroup was added to Geoserver.
How do you do that?
Layer groups are just syntactic sugar for WMS, they are not
available for WFS (where they would not make sense).
I'm not sure what you mean by the WMS URL for them thought,
the group is treated just like any other layer.
Also, I was wondering when I get my jar file packaged and ready…do I just drop in the module in the lib folder and see Geoserver pick up my extension?
Yep, that's how most of the official extensions work. The applicationContext.xml file in your jar is read and registered,
so you if have classes that do plug into extension points for
GeoServer (e.g., output formats, url handles) they will be
picked up on startup
I assume I will have to use dependency injection to inject the CatalogImpl value so I can register my listener with it.
Indeed, that's the way.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.