Added my +1. Feedback: Consider using default methods on the interface to be *really clear* that returning the provided feature type or feature source unchanged is an expected default (rather than returning null which is the convention used by other interfaces for a co-operation).
FeatureType retypeFeatureType(FeatureTypeInfo featureTypeInfo, FeatureType featureType){ return featureType; // default to unchanged feature type } <T extends FeatureType, U extends Feature> FeatureSource<T, U> wrapFeatureSource( FeatureTypeInfo featureTypeInfo, FeatureSource<T, U> featureSource){ return featureSource; // default to unchanged featureSource } Aside: I could see this being useful to inject description and keywords from featureTypeInfo into the featureType. -- Jody Garnett On Fri, 24 Jan 2020 at 07:39, Nuno Oliveira <nuno.olive...@geo-solutions.it> wrote: > Dear PSC members, > > I would kindly ask you to cast your vote on: > https://github.com/geoserver/geoserver/wiki/GSIP-187 > > For reference, the discussion thread is this one: > > http://osgeo-org.1560.x6.nabble.com/Propose-a-new-extension-point-in-ResourcePool-for-retyping-feature-types-and-features-td5427760.html > > Thank you, > Nuno Oliveira > > -- > Regards, > Nuno Oliveira > == > GeoServer Professional Services from the > experts! > Visit http://goo.gl/it488V for more information. > == > > Nuno Miguel Carvalho Oliveira > @nmcoliveira > Software Engineer > > GeoSolutions S.A.S. > Via di Montramito 3/A > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > http://www.geo-solutions.ithttp://twitter.com/geosolutions_it > > ------------------------------------------------------- > > Con riferimento alla normativa sul trattamento dei dati > personali (Reg. UE 2016/679 - Regolamento generale sulla > protezione dei dati “GDPR”), si precisa che ogni > circostanza inerente alla presente email (il suo contenuto, > gli eventuali allegati, etc.) è un dato la cui conoscenza > è riservata al/i solo/i destinatario/i indicati dallo > scrivente. Se il messaggio Le è giunto per errore, è > tenuta/o a cancellarlo, ogni altra operazione è illecita. > Le sarei comunque grato se potesse darmene notizia. > > This email is intended only for the person or entity to > which it is addressed and may contain information that > is privileged, confidential or otherwise protected from > disclosure. We remind that - as provided by European > Regulation 2016/679 “GDPR” - copying, dissemination or > use of this e-mail or the information herein by anyone > other than the intended recipient is prohibited. If you > have received this email by mistake, please notify > us immediately by telephone or e-mail. > > _______________________________________________ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel >
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel