SHL-15 change plugin module by using XML

This commit is contained in:
Jarred Li
2012-04-11 15:15:57 +08:00
parent 725ef2eeac
commit c27eeeab88
9 changed files with 61 additions and 259 deletions

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<configuration>
<class>org.springframework.shell.samples.helloworld.HelloWorldPlugin</class>
</configuration>
</plugin>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
<context:component-scan base-package="org.springframework.shell.samples.helloworld.commands" />
</beans>