cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r576083 - /cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-spring-reloader/src/main/java/org/apache/cocoon/tools/rcl/springreloader/SynchronizedConfigureableWebApplicationContext.java
Date Sun, 16 Sep 2007 12:04:18 GMT
Author: danielf
Date: Sun Sep 16 05:04:17 2007
New Revision: 576083

URL: http://svn.apache.org/viewvc?rev=576083&view=rev
Log:
Make trunk compilable with Spring 2.1.

Modified:
    cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-spring-reloader/src/main/java/org/apache/cocoon/tools/rcl/springreloader/SynchronizedConfigureableWebApplicationContext.java

Modified: cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-spring-reloader/src/main/java/org/apache/cocoon/tools/rcl/springreloader/SynchronizedConfigureableWebApplicationContext.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-spring-reloader/src/main/java/org/apache/cocoon/tools/rcl/springreloader/SynchronizedConfigureableWebApplicationContext.java?rev=576083&r1=576082&r2=576083&view=diff
==============================================================================
--- cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-spring-reloader/src/main/java/org/apache/cocoon/tools/rcl/springreloader/SynchronizedConfigureableWebApplicationContext.java
(original)
+++ cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-spring-reloader/src/main/java/org/apache/cocoon/tools/rcl/springreloader/SynchronizedConfigureableWebApplicationContext.java
Sun Sep 16 05:04:17 2007
@@ -105,6 +105,13 @@
         return appContext.getBean(arg0);
     }
 
+    // Make the class compilable with Spring 2.1
+    // FIXME: delegate to appContext, when updating to Spring 2.1
+    public Object getBean(String arg0, Object[] arg1) throws BeansException {
+        throw new UnsupportedOperationException();
+        //return appContext.getBean(arg0, arg1);
+    }
+
     public synchronized int getBeanDefinitionCount() {
         return appContext.getBeanDefinitionCount();
     }



Mime
View raw message