As of version 4.3.9, you can use the service registry:
http://www.unidata.ucar.edu/software/netcdf-java/reference/RuntimeLoading.html#ServiceRegistry
Otherwise, use Rolands' suggestion, see:
http://www.unidata.ucar.edu/software/netcdf-java/reference/RuntimeLoading.html#XML
<http://www.unidata.ucar.edu/software/netcdf-java/reference/RuntimeLoading.html#ServiceRegistry>
On 7/2/2012 12:39 PM, Roland Schweitzer wrote:
Tom,
You can register an IOSP in the content/thredds/threddsConfig.xml file.
The file will be available after the first time tomcat runs after you drop
the war file into the webapps directory. You can also register Datasource
implementations which give you a crack at the URL before handing off
control to the IOSP of your choice.
<threddsConfig>
<datasetSource>gov.noaa.pmel.tmap.iosp.FerretDataSource</datasetSource>
<nj22Config>
<ioServiceProvider
class="gov.noaa.pmel.tmap.iosp.FerretIOServiceProvider"/>
</nj22Config>
....
</threddsConfig>
Roland
On Mon, Jul 2, 2012 at 11:52 AM, Tom Block
<tom.block@xxxxxxxxxxxxxxxxxxxx>wrote:
Dear all,
I am trying to figure out how to ingest a IOSP into the THREDDS web-app;
the goal is to make it possible to serve ENVISAT data through the OPeNDAP
interface. The implementation of the IOSP seems to be straight forward - at
first sight - but I cannot figure out how to register my IOSP
implementation into the running THREDDS-server.
So my questions:
- is the auto-registration according to the Java SPI implemented - as it
was suggestd by Tom Kunicki in March
- if not - does anyone have another idea on how to register IOSP
Thanks for your support,
Tom
--
______________________________**______________
Brockmann Consult GmbH
Dipl.-Ing. Thomas Block
Max-Planck-Str. 2 / GITZ
21502 Geesthacht
http://www.brockmann-consult.**de <http://www.brockmann-consult.de>
______________________________**______________
______________________________**_________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/**mailing_lists/<http://www.unidata.ucar.edu/mailing_lists/>
_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/