@@ -0,0 +1,723 @@
+package com.ning.billing.usage.glue;%0A%0Aimport javax.inject.Provider;%0A%0Aimport org.skife.jdbi.v2.DBI;%0A%0Aimport com.ning.billing.usage.timeline.persistent.CachingTimelineDao;%0Aimport com.ning.billing.usage.timeline.persistent.DefaultTimelineDao;%0Aimport com.ning.billing.usage.timeline.persistent.TimelineDao;%0A%0Aimport com.google.inject.Inject;%0A%0Apublic class CachingDefaultTimelineDaoProvider implements Provider%3CTimelineDao%3E %7B%0A%0A    private final DBI dbi;%0A%0A    @Inject%0A    public CachingDefaultTimelineDaoProvider(final DBI dbi) %7B%0A        this.dbi = dbi;%0A    %7D%0A%0A    @Override%0A    public TimelineDao get() %7B%0A        final TimelineDao delegate = new DefaultTimelineDao(dbi);%0A%0A        return new CachingTimelineDao(delegate);%0A    %7D%0A%7D%0A

add Provider for the dao