On Thu, Jun 30, 2011 at 9:01 AM, LSA <l...@ngs.ru> wrote: > Andrea, thanks for reply, > > I see your point, but how one can pass outside implementation in such a > function? As far as I know, if you register function in > > META-INF/services/org.opengis.filter.expression.Function > > then it will be constructed using the default constructor. > > If you will look at http://files.rsdn.ru/81424/SelectionLab.java, line 275, > you will notice, that I am using external implementation of my filter logic > (passed as interface in constructor). > > Do you have any idea how to workaround this limitation?
None that I can think of unfortunately, you went against the design of the function subsystem that way. Your code was working by accident before. All parameters your function needs have to be provided in the argument list, not via a constructor. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users