package org.soujava.exchange.ecb;

import org.tomitribe.sabot.Config;

import javax.inject.Inject;

class SQLQuery {

    @Inject
    @Config(value = "query-rate")
    private String queryRate;


    @Inject
    @Config(value = "query-historic")
    private String queryHistoric;

    public String getQueryRate() {
        return queryRate;
    }

    public String getQueryHistoric() {
        return queryHistoric;
    }
}

@@ -81,23 +81,93 @@
 vax.
-inject.Inject;%0A
+enterprise.context.ApplicationScoped;%0Aimport javax.inject.Inject;%0A%0A@ApplicationScoped
 %0Acla

Define scope to ECBQuery configuration