* Create a DaoObjectifyService, configured based an entities Resource.
* @param entities Entities Resource to be injected into the service
* @return DaoObjectifyService with the entities Resource injected
*/
public static DaoObjectifyService createDaoObjectifyService(Resource entities) {
DaoObjectifyService service = new DaoObjectifyService();
service.setObjectifyServiceProxy(ObjectifyServiceProxy.getInstance());
service.setEntities(entities);
service.afterPropertiesSet();
return service;
}