CLOUDIFY-1911 use autowired instead of inject to not force ruby class loader injection