Why use Resource and concrete class(JdbcStoreServiceContext) here?