On Wed, Jul 30, 2014 at 8:42 PM, Jody Garnett <[email protected]>
wrote:

> Small clarification inline, and then I do not have anything more to add.
>
>  - Telling apart XML/text/Binary is the heart of this problem. Crack that
>>> and then build factory after.
>>>
>> I lost you there. A factory can build all three types at the same time.
>>
>
> Telling apart the individual ProcessParameterIO instances (and what they
> are capable of) is the hear of the problem. Once we have that sorted it may
> inform what the find methods look like, and what information needs to be
> available at the Factory level.
>
> Like I do not think we need the FunctionFactory approach as we do not have
> a FunctionName equivalent that can be listed independently.
>

I still don't get it. There are the three base classes for the three cases,
that's all we have needed so far.


>
>
>>  - How to represent combination input/output/mime types? Either list the
>>> same format multiple times (once for each combination) or create a
>>> MultplexProcessParameterIO
>>>
>> The above sentence has no meaning to me, don't believe it matches the
>> current PPIO design.
>>
>
> Fair enough, I will use more words. Was thinking of a single mime type -
> say "text/json" - showing up in the list as:
> - GeoJSONPPInput: mimetype="text/json" version="1.0" subformat="geojson"
> - GeoJSONPPOutput: mimetype="text/json" version="1.0" subformat="geojson"
> - ESRIJSONPPInput: mimetype="text/json" version="10.2"
> subformat="Featureset"
> - ESRIJSONPPOutput: mimetype="text/json" version="10.2"
> subformat="Featureset"
> - ESRIJSONPPOutput: mimetype="text/json" version="10.2.1"
> subformat="Featureseti"
> - ESRIJSONPPOutput: mimetype="text/json" version="10.2.2"
> subformat="Featureset"
>

There is no such a such as a version or a subformat, please check the api,
a PPIO binds
a java class to an input/outupt.
To be clear, my objective is to make it possible to add more PPIOs without
having to register
them one by one in the app context (and have to know in advance what they
are), I have
no scope to redesign the way PPIOs are working, are looked up, or the
functionality
they expose, I just want to  declare their existence to the current code.

I don't get why to do such a simple task we have to involve a unrelated
large refactoring
of the PPIO code base.

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

-------------------------------------------------------
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to