// configure gilead
final HibernateUtil persistenceUtil = new HibernateUtil();
persistenceUtil.setSessionFactory(sessionFactory);
// TODO: This should actually be a session bound proxy store instead of a global one
final InMemoryProxyStore proxyStore = new InMemoryProxyStore();
proxyStore.setPersistenceUtil(persistenceUtil);
beanManager = new PersistentBeanManager();
beanManager.setPersistenceUtil(persistenceUtil);
beanManager.setProxyStore(proxyStore);
}