8990919293949596
public ClassPathXmlApplicationContext getContext() { return BEAN_FACTORY; } public Graph getNewGraph() { GraphFactory graphFactory = (GraphFactory) BEAN_FACTORY.getBean("graphFactory"); return graphFactory.getGraph(); }