geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r702396 - /geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/resources/META-INF/spring/components.xml
Date Tue, 07 Oct 2008 08:58:50 GMT
Author: jdillon
Date: Tue Oct  7 01:58:49 2008
New Revision: 702396

URL: http://svn.apache.org/viewvc?rev=702396&view=rev
Log:
Make history work as a singleton again for now

Modified:
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/resources/META-INF/spring/components.xml

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/resources/META-INF/spring/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/resources/META-INF/spring/components.xml?rev=702396&r1=702395&r2=702396&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/resources/META-INF/spring/components.xml
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/resources/META-INF/spring/components.xml
Tue Oct  7 01:58:49 2008
@@ -44,11 +44,10 @@
     <bean id="commandLineExecutor" class="org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl"/>
 
     <!--
-    FIXME: This should really not be prototype scoped, or it should be accessible for a Shell
instance.
-           Should probably create a HistoryProvider component to deal with this shit.
+    FIXME: Need to find a better way to configure the history for a Shell, this singleton
is defs not correct.
     -->
-    
-    <bean id="history" class="org.apache.geronimo.gshell.wisdom.shell.HistoryImpl" scope="prototype"/>
+
+    <bean id="history" class="org.apache.geronimo.gshell.wisdom.shell.HistoryImpl"/>
 
     <bean id="shell" class="org.apache.geronimo.gshell.wisdom.shell.ShellImpl" scope="prototype">
         <property name="completers">



Mime
View raw message