syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1358178 - /incubator/syncope/trunk/core/src/main/webapp/cacheStats.jsp
Date Fri, 06 Jul 2012 13:10:32 GMT
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);



Mime
View raw message