geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r703761 - in /geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring: BeanContainer.java BeanContainerImpl.java
Date Sun, 12 Oct 2008 04:45:06 GMT
Author: jdillon
Date: Sat Oct 11 21:45:05 2008
New Revision: 703761

URL: http://svn.apache.org/viewvc?rev=703761&view=rev
Log:
Changed classpath to Collection

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainer.java
    geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerImpl.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainer.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainer.java?rev=703761&r1=703760&r2=703761&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainer.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainer.java
Sat Oct 11 21:45:05 2008
@@ -22,7 +22,7 @@
 import org.codehaus.plexus.classworlds.realm.ClassRealm;
 
 import java.net.URL;
-import java.util.List;
+import java.util.Collection;
 import java.util.Map;
 
 /**
@@ -48,7 +48,7 @@
 
     String[] getBeanNames(Class type);
 
-    BeanContainer createChild(String id, List<URL> classPath);
+    BeanContainer createChild(String id, Collection<URL> classPath);
 
     BeanContainer createChild(String id);
 }

Modified: geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerImpl.java?rev=703761&r1=703760&r2=703761&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerImpl.java
Sat Oct 11 21:45:05 2008
@@ -19,6 +19,7 @@
 
 package org.apache.geronimo.gshell.spring;
 
+import org.apache.geronimo.gshell.chronos.StopWatch;
 import org.codehaus.plexus.classworlds.ClassWorld;
 import org.codehaus.plexus.classworlds.realm.ClassRealm;
 import org.codehaus.plexus.classworlds.realm.DuplicateRealmException;
@@ -26,11 +27,10 @@
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.NoSuchBeanDefinitionException;
 import org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor;
-import org.apache.geronimo.gshell.chronos.StopWatch;
 
 import java.net.URL;
 import java.util.Arrays;
-import java.util.List;
+import java.util.Collection;
 import java.util.Map;
 import java.util.UUID;
 
@@ -101,7 +101,7 @@
         log.debug("Loaded beans after: {}", watch);
     }
 
-    public BeanContainer createChild(final String id, final List<URL> classPath) {
+    public BeanContainer createChild(final String id, final Collection<URL> classPath)
{
         assert id != null;
         // classPath may be null
 



Mime
View raw message