On Wed, Mar 12, 2014 at 8:43 PM, Justin Deoliveira <
jdeol...@boundlessgeo.com> wrote:

> Looks pretty great to me Andrea. Nice work.
>

Thank you.

Talking internally in GeoSolutions, we found an extra need, an ability for
a plugin to setup
its own id and style (which might be coming up from custom logic).

So... usual drill, an interface for the extension point, a default
implementation with
the logic I've already implemneted to be
used if no custom one is found in the application context scan.
The interface would be:

interface GeoServerIdGenerator {
  String getId();
  String getCssStyle();
}

It would have the nice side effect of removing the system variable parsing
and handling out of GeoServerBasePage, and into to a
DefaultGeoServerIdGenerator class.

Opinions?

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

-------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to