goeh / weather-collector

This Java program read data from a weather station (Davis Vantage Pro2) and store it in a SQL database
5 stars 3 forks source link

Load datastores dynamically #16

Open goeh opened 3 years ago

goeh commented 3 years ago

DataStore implementations are now eagerly loaded at startup. Please make it possible to load datastores dynamically from configuration.

goeh commented 3 years ago

Data stores are now loaded dynamically from a class name specified in collector.properties. The core data stores are still included in the distribution, but their jar.files can be deleted from lib if they are not used. So it's a step in the right direction, but we could do more to make is easier to extend.