157158159160161162163164165
/** * @return the actual EntityManager instance */ public static EntityManager getEntityManager() { if (entityManager == null) { entityManager = new DefaultEntityManager(); } return entityManager; }