/** * Look up the EntityManagerFactory that this filter should use, * taking the current HTTP request as argument. * <p>The default implementation delegates to the {@code lookupEntityManagerFactory} * without arguments, caching the EntityManagerFactory reference once obtained. * @return the EntityManagerFactory to use * @see #lookupEntityManagerFactory() */ protected EntityManagerFactory lookupEntityManagerFactory(HttpServletRequest request) { EntityManagerFactory emf = this.entityManagerFactory; if (emf == null) { emf = lookupEntityManagerFactory(); this.entityManagerFactory = emf; } return emf; }
/** * Look up the EntityManagerFactory that this filter should use, * taking the current HTTP request as argument. * <p>The default implementation delegates to the {@code lookupEntityManagerFactory} * without arguments, caching the EntityManagerFactory reference once obtained. * @return the EntityManagerFactory to use * @see #lookupEntityManagerFactory() */ protected EntityManagerFactory lookupEntityManagerFactory(HttpServletRequest request) { EntityManagerFactory emf = this.entityManagerFactory; if (emf == null) { emf = lookupEntityManagerFactory(); this.entityManagerFactory = emf; } return emf; }
throws ServletException, IOException { EntityManagerFactory emf = lookupEntityManagerFactory(request); boolean participate = false;
throws ServletException, IOException { EntityManagerFactory emf = lookupEntityManagerFactory(request); boolean participate = false;
/** * Look up the EntityManagerFactory that this filter should use, * taking the current HTTP request as argument. * <p>The default implementation delegates to the {@code lookupEntityManagerFactory} * without arguments, caching the EntityManagerFactory reference once obtained. * @return the EntityManagerFactory to use * @see #lookupEntityManagerFactory() */ protected EntityManagerFactory lookupEntityManagerFactory(HttpServletRequest request) { EntityManagerFactory emf = this.entityManagerFactory; if (emf == null) { emf = lookupEntityManagerFactory(); this.entityManagerFactory = emf; } return emf; }
throws ServletException, IOException { EntityManagerFactory emf = lookupEntityManagerFactory(request); boolean participate = false;