geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r697925 - in /geronimo/gshell/trunk: gshell-commands/gshell-builtins/src/main/resources/META-INF/spring/components.xml gshell-wisdom/gshell-wisdom-bootstrap/src/main/resources/org/apache/geronimo/gshell/wisdom/config/wisdom-gshell.xsd
Date Mon, 22 Sep 2008 18:21:14 GMT
Author: jdillon
Date: Mon Sep 22 11:21:14 2008
New Revision: 697925

URL: http://svn.apache.org/viewvc?rev=697925&view=rev
Log:
Add some examples of what the custom spring namespace configuration might look like

Modified:
    geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/resources/META-INF/spring/components.xml
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/resources/org/apache/geronimo/gshell/wisdom/config/wisdom-gshell.xsd

Modified: geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/resources/META-INF/spring/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/resources/META-INF/spring/components.xml?rev=697925&r1=697924&r2=697925&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/resources/META-INF/spring/components.xml
(original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-builtins/src/main/resources/META-INF/spring/components.xml
Mon Sep 22 11:21:14 2008
@@ -29,6 +29,31 @@
 
     <context:annotation-config/>
 
+    <!--
+    <gshell:plugin name="gshell-bultins">
+        <gshell:command-bundle name="default">
+            <gshell:command name="help" type="stateful">
+                <gshell:action>
+                    <bean class="org.apache.geronimo.gshell.commands.builtins.HelpAction"/>
+                </gshell:action>
+            </gshell:command>
+
+            <gshell:command name="exit" action="org.apache.geronimo.gshell.commands.builtins.ExitAction"/>
// default type is stateful
+
+            <gshell:command name="clear" type="stateless">
+                <gshell:action class="org.apache.geronimo.gshell.commands.builtins.ClearAction"/>
+                <gshell:completer class="org.apache.geronimo.gshell.commands.builtins.ClearCompleter"/>
+            </gshell:command>
+        </gshell:command-bundle>
+
+        <gshell:activation>
+            <gshell:activation-rule class="org.apache.geronimo.gshell.wisdom.plugin.activation.DefaultCommandBundleActivationRule">
+                <property name="bundleId" value="default"/>
+            </gshell:activation-rule>
+        </gshell:activation>
+    </gshell:plugin>
+    -->
+
     <bean class="org.apache.geronimo.gshell.wisdom.plugin.PluginImpl">
         <property name="id" value="gshell-bultins"/>
 
@@ -79,7 +104,7 @@
                 <bean parent="statefulCommandTemplate">
                     <property name="actionId" value="gshell-builtins:source"/>
                 </bean>
-                
+
                 <bean parent="statefulCommandTemplate">
                     <property name="actionId" value="gshell-builtins:set"/>
                 </bean>

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/resources/org/apache/geronimo/gshell/wisdom/config/wisdom-gshell.xsd
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/resources/org/apache/geronimo/gshell/wisdom/config/wisdom-gshell.xsd?rev=697925&r1=697924&r2=697925&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/resources/org/apache/geronimo/gshell/wisdom/config/wisdom-gshell.xsd
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/resources/org/apache/geronimo/gshell/wisdom/config/wisdom-gshell.xsd
Mon Sep 22 11:21:14 2008
@@ -33,7 +33,7 @@
 
     <xsd:annotation>
         <xsd:documentation><![CDATA[
-        Defines the configuration elements for GShell Wisdom application context support.
+            Defines the configuration elements for GShell Wisdom application context support.
         ]]></xsd:documentation>
     </xsd:annotation>
 



Mime
View raw message