package eu.dnetlib.r2d2.neo4j.util;

import javax.annotation.Resource;

import eu.dnetlib.r2d2.neo4j.dao.ProfileDao;
import eu.dnetlib.r2d2.neo4j.domain.Neo4jProfile;

public class InterceptedBean {
	@Resource
	private ProfileDao dao = null;
	
	public void run() {
		
		Neo4jProfile profile = dao.newBean();
		
		profile.setId("123455666786784353454657");
		profile.setAvatarUrl("www.www.www.www");
		profile.setName("A. N. T. L. E. B.");
		
		dao.saveBean(profile);
	}
}