Look at our SOLR Article. This one closely matches your requirement. We have a class named MySimpleService that reads OSGi config values. In the Servlet in this article - we use a @Refence to get config values:@Reference SolrServerConfiguration solrConfigurationService;This shows the proper way o...