You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by js...@apache.org on 2007/06/27 19:21:17 UTC

svn commit: r551232 - /incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/SimpleBeanFactory.java

Author: jstrachan
Date: Wed Jun 27 10:21:16 2007
New Revision: 551232

URL: http://svn.apache.org/viewvc?view=rev&rev=551232
Log:
allow the bean factory to be used in spring 2.0.5 or later

Modified:
    incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/SimpleBeanFactory.java

Modified: incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/SimpleBeanFactory.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/SimpleBeanFactory.java?view=diff&rev=551232&r1=551231&r2=551232
==============================================================================
--- incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/SimpleBeanFactory.java (original)
+++ incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/SimpleBeanFactory.java Wed Jun 27 10:21:16 2007
@@ -82,4 +82,8 @@
         }
         return targetType.isAssignableFrom(beans.get(name).getClass());
     }
+    public boolean isPrototype(String name) {
+        return false;
+    }
+    
 }