You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2012/07/06 15:10:32 UTC
svn commit: r1358178 -
/incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp
Author: ilgrosso
Date: Fri Jul 6 13:10:32 2012
New Revision: 1358178
URL: http://svn.apache.org/viewvc?rev=1358178&view=rev
Log:
Missing refactoring for ApplicationContextProvider
Modified:
incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp
Modified: incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp?rev=1358178&r1=1358177&r2=1358178&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp (original)
+++ incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp Fri Jul 6 13:10:32 2012
@@ -26,11 +26,11 @@ under the License.
<%@page import="javax.persistence.EntityManagerFactory"%>
<%@page import="org.apache.openjpa.persistence.OpenJPAPersistence"%>
<%@page import="org.apache.openjpa.persistence.OpenJPAEntityManagerFactory"%>
-<%@page import="org.apache.syncope.core.util.ApplicationContextManager"%>
<%@page import="org.springframework.context.ConfigurableApplicationContext"%>
<%@page import="org.apache.openjpa.datacache.QueryKey"%>
<%@page import="org.apache.openjpa.kernel.QueryStatistics"%>
<%@page import="org.apache.openjpa.persistence.QueryResultCacheImpl"%>
+<%@page import="org.apache.syncope.core.util.ApplicationContextProvider"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
@@ -72,8 +72,7 @@ under the License.
<body>
<p/>
<%
- ConfigurableApplicationContext context =
- ApplicationContextManager.getApplicationContext();
+ ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
EntityManagerFactory emf = context.getBean(
EntityManagerFactory.class);