Loan Shark Roo App. Initial Checkin.
76
spring-integration-samples/loanshark/.classpath
Normal file
@@ -0,0 +1,76 @@
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src/test/java" output="target/test-classes" including="**/*.java|**/*.aj"/>
|
||||
<classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
|
||||
<classpathentry kind="src" path="src/main/java" including="**/*.java|**/*.aj"/>
|
||||
<classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
<classpathentry kind="var" path="M2_REPO/javax/persistence/com.springsource.javax.persistence/1.0.0/com.springsource.javax.persistence-1.0.0.jar" sourcepath="M2_REPO/javax/persistence/com.springsource.javax.persistence/1.0.0/com.springsource.javax.persistence-1.0.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/javax/servlet/com.springsource.javax.servlet/2.5.0/com.springsource.javax.servlet-2.5.0.jar" sourcepath="M2_REPO/javax/servlet/com.springsource.javax.servlet/2.5.0/com.springsource.javax.servlet-2.5.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/javax/servlet/com.springsource.javax.servlet.jsp.jstl/1.2.0/com.springsource.javax.servlet.jsp.jstl-1.2.0.jar" sourcepath="M2_REPO/javax/servlet/com.springsource.javax.servlet.jsp.jstl/1.2.0/com.springsource.javax.servlet.jsp.jstl-1.2.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/javax/transaction/com.springsource.javax.transaction/1.1.0/com.springsource.javax.transaction-1.1.0.jar" sourcepath="M2_REPO/javax/transaction/com.springsource.javax.transaction/1.1.0/com.springsource.javax.transaction-1.1.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/javax/validation/com.springsource.javax.validation/1.0.0.GA/com.springsource.javax.validation-1.0.0.GA.jar" sourcepath="M2_REPO/javax/validation/com.springsource.javax.validation/1.0.0.GA/com.springsource.javax.validation-1.0.0.GA-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/antlr/com.springsource.antlr/2.7.6/com.springsource.antlr-2.7.6.jar" sourcepath="M2_REPO/org/antlr/com.springsource.antlr/2.7.6/com.springsource.antlr-2.7.6-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/edu/emory/mathcs/backport/com.springsource.edu.emory.mathcs.backport/3.1.0/com.springsource.edu.emory.mathcs.backport-3.1.0.jar" sourcepath="M2_REPO/edu/emory/mathcs/backport/com.springsource.edu.emory.mathcs.backport/3.1.0/com.springsource.edu.emory.mathcs.backport-3.1.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/edu/oswego/cs/concurrent/com.springsource.edu.oswego.cs.dl.util.concurrent/1.3.4/com.springsource.edu.oswego.cs.dl.util.concurrent-1.3.4.jar" sourcepath="M2_REPO/edu/oswego/cs/concurrent/com.springsource.edu.oswego.cs.dl.util.concurrent/1.3.4/com.springsource.edu.oswego.cs.dl.util.concurrent-1.3.4-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/jboss/javassist/com.springsource.javassist/3.3.0.ga/com.springsource.javassist-3.3.0.ga.jar" sourcepath="M2_REPO/org/jboss/javassist/com.springsource.javassist/3.3.0.ga/com.springsource.javassist-3.3.0.ga-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/net/sourceforge/cglib/com.springsource.net.sf.cglib/2.1.3/com.springsource.net.sf.cglib-2.1.3.jar" sourcepath="M2_REPO/net/sourceforge/cglib/com.springsource.net.sf.cglib/2.1.3/com.springsource.net.sf.cglib-2.1.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.4.1/com.springsource.net.sf.ehcache-1.4.1.jar" sourcepath="M2_REPO/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.4.1/com.springsource.net.sf.ehcache-1.4.1-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/net/sourceforge/jsr107cache/com.springsource.net.sf.jsr107cache/1.0.0/com.springsource.net.sf.jsr107cache-1.0.0.jar" sourcepath="M2_REPO/net/sourceforge/jsr107cache/com.springsource.net.sf.jsr107cache/1.0.0/com.springsource.net.sf.jsr107cache-1.0.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar" sourcepath="M2_REPO/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.beanutils/1.8.0/com.springsource.org.apache.commons.beanutils-1.8.0.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.beanutils/1.8.0/com.springsource.org.apache.commons.beanutils-1.8.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.collections/3.2.0/com.springsource.org.apache.commons.collections-3.2.0.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.collections/3.2.0/com.springsource.org.apache.commons.collections-3.2.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/com.springsource.org.apache.commons.dbcp-1.2.2.osgi-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.digester/1.8.1/com.springsource.org.apache.commons.digester-1.8.1.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.digester/1.8.1/com.springsource.org.apache.commons.digester-1.8.1-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.fileupload/1.2.0/com.springsource.org.apache.commons.fileupload-1.2.0.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.fileupload/1.2.0/com.springsource.org.apache.commons.fileupload-1.2.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.io/1.4.0/com.springsource.org.apache.commons.io-1.4.0.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.io/1.4.0/com.springsource.org.apache.commons.io-1.4.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.pool/1.3.0/com.springsource.org.apache.commons.pool-1.3.0.jar" sourcepath="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.pool/1.3.0/com.springsource.org.apache.commons.pool-1.3.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/el/com.springsource.org.apache.el/6.0.20/com.springsource.org.apache.el-6.0.20.jar" sourcepath="M2_REPO/org/apache/el/com.springsource.org.apache.el/6.0.20/com.springsource.org.apache.el-6.0.20-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15.jar" sourcepath="M2_REPO/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/taglibs/com.springsource.org.apache.taglibs.standard/1.1.2/com.springsource.org.apache.taglibs.standard-1.1.2.jar" sourcepath="M2_REPO/org/apache/taglibs/com.springsource.org.apache.taglibs.standard/1.1.2/com.springsource.org.apache.taglibs.standard-1.1.2-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles/2.1.3/com.springsource.org.apache.tiles-2.1.3.jar" sourcepath="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles/2.1.3/com.springsource.org.apache.tiles-2.1.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.core/2.1.3/com.springsource.org.apache.tiles.core-2.1.3.jar" sourcepath="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.core/2.1.3/com.springsource.org.apache.tiles.core-2.1.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.jsp/2.1.3/com.springsource.org.apache.tiles.jsp-2.1.3.jar" sourcepath="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.jsp/2.1.3/com.springsource.org.apache.tiles.jsp-2.1.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.servlet/2.1.3/com.springsource.org.apache.tiles.servlet-2.1.3.jar" sourcepath="M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.servlet/2.1.3/com.springsource.org.apache.tiles.servlet-2.1.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/codehaus/jackson/com.springsource.org.codehaus.jackson/1.4.2/com.springsource.org.codehaus.jackson-1.4.2.jar" sourcepath="M2_REPO/org/codehaus/jackson/com.springsource.org.codehaus.jackson/1.4.2/com.springsource.org.codehaus.jackson-1.4.2-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/codehaus/jackson/com.springsource.org.codehaus.jackson.mapper/1.4.2/com.springsource.org.codehaus.jackson.mapper-1.4.2.jar" sourcepath="M2_REPO/org/codehaus/jackson/com.springsource.org.codehaus.jackson.mapper/1.4.2/com.springsource.org.codehaus.jackson.mapper-1.4.2-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/dom4j/com.springsource.org.dom4j/1.6.1/com.springsource.org.dom4j-1.6.1.jar" sourcepath="M2_REPO/org/dom4j/com.springsource.org.dom4j/1.6.1/com.springsource.org.dom4j-1.6.1-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/hibernate/com.springsource.org.hibernate/3.2.6.ga/com.springsource.org.hibernate-3.2.6.ga.jar" sourcepath="M2_REPO/org/hibernate/com.springsource.org.hibernate/3.2.6.ga/com.springsource.org.hibernate-3.2.6.ga-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/hibernate/com.springsource.org.hibernate.annotations/3.3.1.ga/com.springsource.org.hibernate.annotations-3.3.1.ga.jar" sourcepath="M2_REPO/org/hibernate/com.springsource.org.hibernate.annotations/3.3.1.ga/com.springsource.org.hibernate.annotations-3.3.1.ga-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga/com.springsource.org.hibernate.annotations.common-3.3.0.ga.jar" sourcepath="M2_REPO/org/hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga/com.springsource.org.hibernate.annotations.common-3.3.0.ga-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/hibernate/com.springsource.org.hibernate.ejb/3.3.2.GA/com.springsource.org.hibernate.ejb-3.3.2.GA.jar" sourcepath="M2_REPO/org/hibernate/com.springsource.org.hibernate.ejb/3.3.2.GA/com.springsource.org.hibernate.ejb-3.3.2.GA-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/hibernate/com.springsource.org.hibernate.validator/4.0.0.GA/com.springsource.org.hibernate.validator-4.0.0.GA.jar" sourcepath="M2_REPO/org/hibernate/com.springsource.org.hibernate.validator/4.0.0.GA/com.springsource.org.hibernate.validator-4.0.0.GA-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/hsqldb/com.springsource.org.hsqldb/1.8.0.9/com.springsource.org.hsqldb-1.8.0.9.jar" sourcepath="M2_REPO/org/hsqldb/com.springsource.org.hsqldb/1.8.0.9/com.springsource.org.hsqldb-1.8.0.9-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/jboss/util/com.springsource.org.jboss.util/2.0.4.GA/com.springsource.org.jboss.util-2.0.4.GA.jar" sourcepath="M2_REPO/org/jboss/util/com.springsource.org.jboss.util/2.0.4.GA/com.springsource.org.jboss.util-2.0.4.GA-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.jar" sourcepath="M2_REPO/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/junit/com.springsource.org.junit/4.7.0/com.springsource.org.junit-4.7.0.jar" sourcepath="M2_REPO/org/junit/com.springsource.org.junit/4.7.0/com.springsource.org.junit-4.7.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm/1.5.3/com.springsource.org.objectweb.asm-1.5.3.jar" sourcepath="M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm/1.5.3/com.springsource.org.objectweb.asm-1.5.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm.attrs/1.5.3/com.springsource.org.objectweb.asm.attrs-1.5.3.jar" sourcepath="M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm.attrs/1.5.3/com.springsource.org.objectweb.asm.attrs-1.5.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/tuckey/com.springsource.org.tuckey.web.filters.urlrewrite/3.1.0/com.springsource.org.tuckey.web.filters.urlrewrite-3.1.0.jar" sourcepath="M2_REPO/org/tuckey/com.springsource.org.tuckey.web.filters.urlrewrite/3.1.0/com.springsource.org.tuckey.web.filters.urlrewrite-3.1.0-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.api/1.5.6/com.springsource.slf4j.api-1.5.6.jar" sourcepath="M2_REPO/org/slf4j/com.springsource.slf4j.api/1.5.6/com.springsource.slf4j.api-1.5.6-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.log4j/1.5.6/com.springsource.slf4j.log4j-1.5.6.jar" sourcepath="M2_REPO/org/slf4j/com.springsource.slf4j.log4j/1.5.6/com.springsource.slf4j.log4j-1.5.6-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.aop/3.0.1.RELEASE-A/org.springframework.aop-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.aop/3.0.1.RELEASE-A/org.springframework.aop-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.asm/3.0.1.RELEASE-A/org.springframework.asm-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.asm/3.0.1.RELEASE-A/org.springframework.asm-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.aspects/3.0.1.RELEASE-A/org.springframework.aspects-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.aspects/3.0.1.RELEASE-A/org.springframework.aspects-3.0.1.RELEASE-A-sources.jar">
|
||||
<attributes>
|
||||
<attribute name="org.eclipse.ajdt.aspectpath" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.beans/3.0.1.RELEASE-A/org.springframework.beans-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.beans/3.0.1.RELEASE-A/org.springframework.beans-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.context/3.0.1.RELEASE-A/org.springframework.context-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.context/3.0.1.RELEASE-A/org.springframework.context-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.core/3.0.1.RELEASE-A/org.springframework.core-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.core/3.0.1.RELEASE-A/org.springframework.core-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.expression/3.0.1.RELEASE-A/org.springframework.expression-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.expression/3.0.1.RELEASE-A/org.springframework.expression-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/integration/org.springframework.integration/2.0.0.M3/org.springframework.integration-2.0.0.M3.jar" sourcepath="M2_REPO/org/springframework/integration/org.springframework.integration/2.0.0.M3/org.springframework.integration-2.0.0.M3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/integration/org.springframework.integration.adapter/2.0.0.M3/org.springframework.integration.adapter-2.0.0.M3.jar" sourcepath="M2_REPO/org/springframework/integration/org.springframework.integration.adapter/2.0.0.M3/org.springframework.integration.adapter-2.0.0.M3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/integration/org.springframework.integration.ip/2.0.0.M3/org.springframework.integration.ip-2.0.0.M3.jar" sourcepath="M2_REPO/org/springframework/integration/org.springframework.integration.ip/2.0.0.M3/org.springframework.integration.ip-2.0.0.M3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.jdbc/3.0.1.RELEASE-A/org.springframework.jdbc-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.jdbc/3.0.1.RELEASE-A/org.springframework.jdbc-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/webflow/org.springframework.js/2.0.8.RELEASE/org.springframework.js-2.0.8.RELEASE.jar" sourcepath="M2_REPO/org/springframework/webflow/org.springframework.js/2.0.8.RELEASE/org.springframework.js-2.0.8.RELEASE-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.orm/3.0.1.RELEASE-A/org.springframework.orm-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.orm/3.0.1.RELEASE-A/org.springframework.orm-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/roo/org.springframework.roo.annotations/1.0.2.RELEASE/org.springframework.roo.annotations-1.0.2.RELEASE.jar" sourcepath="M2_REPO/org/springframework/roo/org.springframework.roo.annotations/1.0.2.RELEASE/org.springframework.roo.annotations-1.0.2.RELEASE-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.test/3.0.1.RELEASE-A/org.springframework.test-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.test/3.0.1.RELEASE-A/org.springframework.test-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.transaction/3.0.1.RELEASE-A/org.springframework.transaction-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.transaction/3.0.1.RELEASE-A/org.springframework.transaction-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.web/3.0.1.RELEASE-A/org.springframework.web-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.web/3.0.1.RELEASE-A/org.springframework.web-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.web.servlet/3.0.1.RELEASE-A/org.springframework.web.servlet-3.0.1.RELEASE-A.jar" sourcepath="M2_REPO/org/springframework/org.springframework.web.servlet/3.0.1.RELEASE-A/org.springframework.web.servlet-3.0.1.RELEASE-A-sources.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.ajdt.core.ASPECTJRT_CONTAINER"/>
|
||||
</classpath>
|
||||
37
spring-integration-samples/loanshark/.project
Normal file
@@ -0,0 +1,37 @@
|
||||
<projectDescription>
|
||||
<name>loanshark</name>
|
||||
<comment/>
|
||||
<projects/>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.ajdt.core.ajbuilder</name>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.ajdt.core.ajbuilder</name>
|
||||
<arguments>
|
||||
<dictionary>
|
||||
<key>aspectPath</key>
|
||||
<value>org.springframework.aspects</value>
|
||||
</dictionary>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.springframework.ide.eclipse.core.springbuilder</name>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.ajdt.ui.ajnature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>com.springsource.sts.roo.core.nature</nature>
|
||||
<nature>org.springframework.ide.eclipse.core.springnature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,5 @@
|
||||
#Wed Mar 24 13:06:08 PDT 2010
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
@@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="loanshark">
|
||||
<property name="context-root" value="loanshark"/>
|
||||
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
|
||||
<property name="java-output-path" value="/target/classes"/>
|
||||
<dependent-module archiveName="com.springsource.antlr-2.7.6.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/antlr/com.springsource.antlr/2.7.6/com.springsource.antlr-2.7.6.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.edu.emory.mathcs.backport-3.1.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/edu/emory/mathcs/backport/com.springsource.edu.emory.mathcs.backport/3.1.0/com.springsource.edu.emory.mathcs.backport-3.1.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.edu.oswego.cs.dl.util.concurrent-1.3.4.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/edu/oswego/cs/concurrent/com.springsource.edu.oswego.cs.dl.util.concurrent/1.3.4/com.springsource.edu.oswego.cs.dl.util.concurrent-1.3.4.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.javassist-3.3.0.ga.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/jboss/javassist/com.springsource.javassist/3.3.0.ga/com.springsource.javassist-3.3.0.ga.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.javax.persistence-1.0.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/javax/persistence/com.springsource.javax.persistence/1.0.0/com.springsource.javax.persistence-1.0.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.javax.servlet.jsp.jstl-1.2.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/javax/servlet/com.springsource.javax.servlet.jsp.jstl/1.2.0/com.springsource.javax.servlet.jsp.jstl-1.2.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.javax.transaction-1.1.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/javax/transaction/com.springsource.javax.transaction/1.1.0/com.springsource.javax.transaction-1.1.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.javax.validation-1.0.0.GA.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/javax/validation/com.springsource.javax.validation/1.0.0.GA/com.springsource.javax.validation-1.0.0.GA.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.net.sf.cglib-2.1.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/net/sourceforge/cglib/com.springsource.net.sf.cglib/2.1.3/com.springsource.net.sf.cglib-2.1.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.net.sf.ehcache-1.4.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.4.1/com.springsource.net.sf.ehcache-1.4.1.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.net.sf.jsr107cache-1.0.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/net/sourceforge/jsr107cache/com.springsource.net.sf.jsr107cache/1.0.0/com.springsource.net.sf.jsr107cache-1.0.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.aopalliance-1.0.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.beanutils-1.8.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.beanutils/1.8.0/com.springsource.org.apache.commons.beanutils-1.8.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.collections-3.2.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.collections/3.2.0/com.springsource.org.apache.commons.collections-3.2.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.digester-1.8.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.digester/1.8.1/com.springsource.org.apache.commons.digester-1.8.1.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.fileupload-1.2.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.fileupload/1.2.0/com.springsource.org.apache.commons.fileupload-1.2.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.io-1.4.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.io/1.4.0/com.springsource.org.apache.commons.io-1.4.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.logging-1.1.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.commons.pool-1.3.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/commons/com.springsource.org.apache.commons.pool/1.3.0/com.springsource.org.apache.commons.pool-1.3.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.el-6.0.20.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/el/com.springsource.org.apache.el/6.0.20/com.springsource.org.apache.el-6.0.20.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.log4j-1.2.15.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.taglibs.standard-1.1.2.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/taglibs/com.springsource.org.apache.taglibs.standard/1.1.2/com.springsource.org.apache.taglibs.standard-1.1.2.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.tiles-2.1.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles/2.1.3/com.springsource.org.apache.tiles-2.1.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.tiles.core-2.1.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.core/2.1.3/com.springsource.org.apache.tiles.core-2.1.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.tiles.jsp-2.1.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.jsp/2.1.3/com.springsource.org.apache.tiles.jsp-2.1.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.apache.tiles.servlet-2.1.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/apache/tiles/com.springsource.org.apache.tiles.servlet/2.1.3/com.springsource.org.apache.tiles.servlet-2.1.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.aspectj.runtime-1.6.6.RELEASE.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/aspectj/com.springsource.org.aspectj.runtime/1.6.6.RELEASE/com.springsource.org.aspectj.runtime-1.6.6.RELEASE.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.codehaus.jackson-1.4.2.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/codehaus/jackson/com.springsource.org.codehaus.jackson/1.4.2/com.springsource.org.codehaus.jackson-1.4.2.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.codehaus.jackson.mapper-1.4.2.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/codehaus/jackson/com.springsource.org.codehaus.jackson.mapper/1.4.2/com.springsource.org.codehaus.jackson.mapper-1.4.2.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.dom4j-1.6.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/dom4j/com.springsource.org.dom4j/1.6.1/com.springsource.org.dom4j-1.6.1.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.hibernate-3.2.6.ga.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/hibernate/com.springsource.org.hibernate/3.2.6.ga/com.springsource.org.hibernate-3.2.6.ga.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.hibernate.annotations-3.3.1.ga.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/hibernate/com.springsource.org.hibernate.annotations/3.3.1.ga/com.springsource.org.hibernate.annotations-3.3.1.ga.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.hibernate.annotations.common-3.3.0.ga.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga/com.springsource.org.hibernate.annotations.common-3.3.0.ga.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.hibernate.ejb-3.3.2.GA.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/hibernate/com.springsource.org.hibernate.ejb/3.3.2.GA/com.springsource.org.hibernate.ejb-3.3.2.GA.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.hibernate.validator-4.0.0.GA.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/hibernate/com.springsource.org.hibernate.validator/4.0.0.GA/com.springsource.org.hibernate.validator-4.0.0.GA.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.hsqldb-1.8.0.9.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/hsqldb/com.springsource.org.hsqldb/1.8.0.9/com.springsource.org.hsqldb-1.8.0.9.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.jboss.util-2.0.4.GA.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/jboss/util/com.springsource.org.jboss.util/2.0.4.GA/com.springsource.org.jboss.util-2.0.4.GA.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.joda.time-1.6.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.objectweb.asm-1.5.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm/1.5.3/com.springsource.org.objectweb.asm-1.5.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.objectweb.asm.attrs-1.5.3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm.attrs/1.5.3/com.springsource.org.objectweb.asm.attrs-1.5.3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.org.tuckey.web.filters.urlrewrite-3.1.0.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/tuckey/com.springsource.org.tuckey.web.filters.urlrewrite/3.1.0/com.springsource.org.tuckey.web.filters.urlrewrite-3.1.0.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.slf4j.api-1.5.6.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/slf4j/com.springsource.slf4j.api/1.5.6/com.springsource.slf4j.api-1.5.6.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="com.springsource.slf4j.log4j-1.5.6.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/slf4j/com.springsource.slf4j.log4j/1.5.6/com.springsource.slf4j.log4j-1.5.6.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.aop-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.aop/3.0.1.RELEASE-A/org.springframework.aop-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.asm-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.asm/3.0.1.RELEASE-A/org.springframework.asm-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.aspects-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.aspects/3.0.1.RELEASE-A/org.springframework.aspects-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.beans-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.beans/3.0.1.RELEASE-A/org.springframework.beans-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.context-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.context/3.0.1.RELEASE-A/org.springframework.context-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.core-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.core/3.0.1.RELEASE-A/org.springframework.core-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.expression-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.expression/3.0.1.RELEASE-A/org.springframework.expression-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.integration-2.0.0.M3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/integration/org.springframework.integration/2.0.0.M3/org.springframework.integration-2.0.0.M3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.integration.adapter-2.0.0.M3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/integration/org.springframework.integration.adapter/2.0.0.M3/org.springframework.integration.adapter-2.0.0.M3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.integration.ip-2.0.0.M3.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/integration/org.springframework.integration.ip/2.0.0.M3/org.springframework.integration.ip-2.0.0.M3.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.jdbc-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.jdbc/3.0.1.RELEASE-A/org.springframework.jdbc-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.js-2.0.8.RELEASE.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/webflow/org.springframework.js/2.0.8.RELEASE/org.springframework.js-2.0.8.RELEASE.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.orm-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.orm/3.0.1.RELEASE-A/org.springframework.orm-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.transaction-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.transaction/3.0.1.RELEASE-A/org.springframework.transaction-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.web-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.web/3.0.1.RELEASE-A/org.springframework.web-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="org.springframework.web.servlet-3.0.1.RELEASE-A.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/org/springframework/org.springframework.web.servlet/3.0.1.RELEASE-A/org.springframework.web.servlet-3.0.1.RELEASE-A.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/java"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/resources"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
||||
@@ -0,0 +1,6 @@
|
||||
<faceted-project>
|
||||
<fixed facet="jst.java"/>
|
||||
<fixed facet="jst.web"/>
|
||||
<installed facet="jst.web" version="2.4"/>
|
||||
<installed facet="jst.java" version="6.0"/>
|
||||
</faceted-project>
|
||||
@@ -0,0 +1,4 @@
|
||||
#Mon Mar 29 11:51:49 EDT 2010
|
||||
eclipse.preferences.version=1
|
||||
org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
|
||||
org.springframework.ide.eclipse.beans.core.loadNamespaceHandlerFromClasspath=true
|
||||
410
spring-integration-samples/loanshark/pom.xml
Normal file
@@ -0,0 +1,410 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.springframework.integration.loanbroker.loanshark</groupId>
|
||||
<artifactId>loanshark</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
<name>loanshark</name>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>com.springsource.repository.bundles.release</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/release</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>com.springsource.repository.bundles.external</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/external</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>com.springsource.repository.bundles.milestone</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - External Bundle Milestones</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/milestone</url>
|
||||
</repository>
|
||||
<!-- required for some plugins that depend on snapshots -->
|
||||
<repository>
|
||||
<id>com.springsource.repository.bundles.snapshot</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - External Bundle Snapshots</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/snapshot</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>com.springsource.repository.bundles.release</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/release</url>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>com.springsource.repository.bundles.external</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/external</url>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>com.springsource.repository.bundles.milestone</id>
|
||||
<name>SpringSource Enterprise Bundle Repository - External Bundle Milestones</name>
|
||||
<url>http://repository.springsource.com/maven/bundles/milestone</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<dependencies>
|
||||
<!-- General dependencies for standard applications -->
|
||||
<dependency>
|
||||
<groupId>org.junit</groupId>
|
||||
<artifactId>com.springsource.org.junit</artifactId>
|
||||
<version>4.7.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.log4j</groupId>
|
||||
<artifactId>com.springsource.org.apache.log4j</artifactId>
|
||||
<version>1.2.15</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>com.springsource.org.apache.commons.logging</artifactId>
|
||||
<version>1.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>com.springsource.org.aspectj.runtime</artifactId>
|
||||
<version>${aspectj.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>com.springsource.javax.servlet</artifactId>
|
||||
<version>2.5.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- ROO dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.roo</groupId>
|
||||
<artifactId>org.springframework.roo.annotations</artifactId>
|
||||
<version>1.0.2.RELEASE</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Spring dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.core</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.test</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.context</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.aop</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.aspects</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.transaction</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>com.springsource.org.hsqldb</artifactId>
|
||||
<version>1.8.0.9</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>com.springsource.org.hibernate.annotations</artifactId>
|
||||
<version>3.3.1.ga</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>com.springsource.org.hibernate.ejb</artifactId>
|
||||
<version>3.3.2.GA</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.ehcache</groupId>
|
||||
<artifactId>com.springsource.net.sf.ehcache</artifactId>
|
||||
<version>1.4.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>edu.emory.mathcs.backport</groupId>
|
||||
<artifactId>com.springsource.edu.emory.mathcs.backport</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>com.springsource.slf4j.log4j</artifactId>
|
||||
<version>1.5.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.persistence</groupId>
|
||||
<artifactId>com.springsource.javax.persistence</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>com.springsource.slf4j.api</artifactId>
|
||||
<version>1.5.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>com.springsource.org.hibernate.validator</artifactId>
|
||||
<version>4.0.0.GA</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>com.springsource.javax.validation</artifactId>
|
||||
<version>1.0.0.GA</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.transaction</groupId>
|
||||
<artifactId>com.springsource.javax.transaction</artifactId>
|
||||
<version>1.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
|
||||
<version>1.2.2.osgi</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.jdbc</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.orm</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.web</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.web.servlet</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.webflow</groupId>
|
||||
<artifactId>org.springframework.js</artifactId>
|
||||
<version>2.0.8.RELEASE</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>com.springsource.org.apache.commons.fileupload</artifactId>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.tuckey</groupId>
|
||||
<artifactId>com.springsource.org.tuckey.web.filters.urlrewrite</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.el</groupId>
|
||||
<artifactId>com.springsource.org.apache.el</artifactId>
|
||||
<version>6.0.20</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.joda</groupId>
|
||||
<artifactId>com.springsource.org.joda.time</artifactId>
|
||||
<version>1.6.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tiles</groupId>
|
||||
<artifactId>com.springsource.org.apache.tiles</artifactId>
|
||||
<version>2.1.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tiles</groupId>
|
||||
<artifactId>com.springsource.org.apache.tiles.jsp</artifactId>
|
||||
<version>2.1.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tiles</groupId>
|
||||
<artifactId>com.springsource.org.apache.tiles.core</artifactId>
|
||||
<version>2.1.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.expression</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.integration</groupId>
|
||||
<artifactId>org.springframework.integration</artifactId>
|
||||
<version>2.0.0.M3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.integration</groupId>
|
||||
<artifactId>org.springframework.integration.ip</artifactId>
|
||||
<version>2.0.0.M3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.integration</groupId>
|
||||
<artifactId>org.springframework.integration.adapter</artifactId>
|
||||
<version>2.0.0.M3</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<!--
|
||||
<configuration> <webXml>target/web.xml</webXml> </configuration>
|
||||
-->
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>aspectj-maven-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<!-- NB: You must use Maven 2.0.9 or above or these are ignored (see MNG-2972) -->
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>com.springsource.org.aspectj.runtime</artifactId>
|
||||
<version>${aspectj.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>com.springsource.org.aspectj.tools</artifactId>
|
||||
<version>${aspectj.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
<goal>test-compile</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<outxml>true</outxml>
|
||||
<aspectLibraries>
|
||||
<aspectLibrary>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>org.springframework.aspects</artifactId>
|
||||
</aspectLibrary>
|
||||
</aspectLibraries>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<configuration>
|
||||
<junitArtifactName>org.junit:com.springsource.org.junit</junitArtifactName>
|
||||
<excludes>
|
||||
<exclude>**/*_Roo_*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.1</version>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>
|
||||
jar-with-dependencies
|
||||
</descriptorRef>
|
||||
</descriptorRefs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
</plugin>
|
||||
<!-- IDE -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<version>2.7</version>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
<downloadJavadocs>false</downloadJavadocs>
|
||||
<wtpversion>2.0</wtpversion>
|
||||
<additionalBuildcommands>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.ajdt.core.ajbuilder</name>
|
||||
<arguments>
|
||||
<aspectPath>org.springframework.aspects</aspectPath>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.springframework.ide.eclipse.core.springbuilder</name>
|
||||
</buildCommand>
|
||||
</additionalBuildcommands>
|
||||
<additionalProjectnatures>
|
||||
<projectnature>org.eclipse.ajdt.ui.ajnature</projectnature>
|
||||
<projectnature>com.springsource.sts.roo.core.nature</projectnature>
|
||||
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
|
||||
</additionalProjectnatures>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-idea-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
<dependenciesAsLibraries>true</dependenciesAsLibraries>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>tomcat-maven-plugin</artifactId>
|
||||
<version>1.0-beta-1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>maven-jetty-plugin</artifactId>
|
||||
<version>6.1.10</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<spring.version>3.0.1.RELEASE-A</spring.version>
|
||||
<aspectj.version>1.6.6.RELEASE</aspectj.version>
|
||||
</properties>
|
||||
</project>
|
||||
12
spring-integration-samples/loanshark/script.roo
Normal file
@@ -0,0 +1,12 @@
|
||||
project --topLevelPackage com.springframework.integration.loanbroker.loanshark3
|
||||
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
|
||||
entity --class ~.domain.LoanShark
|
||||
field string --fieldName name
|
||||
field number --type java.lang.Long --fieldName counter
|
||||
field number --type java.lang.Double --fieldName averageRate
|
||||
finder add --finderName findLoanSharksByName
|
||||
controller scaffold --class ~.web.SharkController
|
||||
logging setup --level DEBUG
|
||||
dependency add --artifactId org.springframework.integration.ip --groupId org.springframework.integration --version 2.0.0.M3
|
||||
//change spring version in pom.xml to 3.0.0-RELEASE-A before perform eclipse
|
||||
//perform eclipse
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright 2002-2010 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
|
||||
import org.springframework.dao.DataAccessException;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class Accumulator {
|
||||
|
||||
@Transactional
|
||||
public void accumulate(SharkQuote quote) {
|
||||
LoanShark shark = null;
|
||||
try {
|
||||
shark = (LoanShark) LoanShark.findLoanSharksByName(
|
||||
quote.getSharkName()).getSingleResult();
|
||||
} catch (DataAccessException dae) {}
|
||||
if (shark == null) {
|
||||
shark = new LoanShark();
|
||||
shark.setName(quote.getSharkName());
|
||||
shark.setCounter(new Long(0));
|
||||
shark.setAverageRate(0.0d);
|
||||
shark.persist();
|
||||
}
|
||||
Double current = shark.getCounter() * shark.getAverageRate();
|
||||
shark.setCounter(shark.getCounter().longValue() + 1);
|
||||
shark.setAverageRate((current + quote.getSharkRate()) / shark.getCounter());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2002-2010 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
*
|
||||
*/
|
||||
public class SharkQuote {
|
||||
private String sharkName;
|
||||
private Double sharkRate;
|
||||
|
||||
/**
|
||||
* @param sharkName
|
||||
* @param sharkRate
|
||||
*/
|
||||
public SharkQuote(String sharkName, double sharkRate) {
|
||||
super();
|
||||
this.sharkName = sharkName;
|
||||
this.sharkRate = sharkRate;
|
||||
}
|
||||
/**
|
||||
* @return the sharkName
|
||||
*/
|
||||
public String getSharkName() {
|
||||
return sharkName;
|
||||
}
|
||||
/**
|
||||
* @param sharkName the sharkName to set
|
||||
*/
|
||||
public void setSharkName(String sharkName) {
|
||||
this.sharkName = sharkName;
|
||||
}
|
||||
/**
|
||||
* @return the sharkRate
|
||||
*/
|
||||
public Double getSharkRate() {
|
||||
return sharkRate;
|
||||
}
|
||||
/**
|
||||
* @param sharkRate the sharkRate to set
|
||||
*/
|
||||
public void setSharkRate(Double sharkRate) {
|
||||
this.sharkRate = sharkRate;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright 2002-2010 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
*
|
||||
*/
|
||||
public class SharkTransformer {
|
||||
|
||||
public SharkQuote transform(byte[] buffer) {
|
||||
String[] data = new String(buffer).split(",");
|
||||
return new SharkQuote(data[0], Double.parseDouble(data[1]));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import org.springframework.roo.addon.entity.RooEntity;
|
||||
import org.springframework.roo.addon.javabean.RooJavaBean;
|
||||
import org.springframework.roo.addon.tostring.RooToString;
|
||||
|
||||
@Entity
|
||||
@RooJavaBean
|
||||
@RooToString
|
||||
@RooEntity(finders = { "findLoanSharksByName" })
|
||||
public class LoanShark {
|
||||
|
||||
private String name;
|
||||
|
||||
private Long counter;
|
||||
|
||||
private Double averageRate;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Configurable;
|
||||
|
||||
privileged aspect LoanShark_Roo_Configurable {
|
||||
|
||||
declare @type: LoanShark: @Configurable;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import java.lang.Integer;
|
||||
import java.lang.Long;
|
||||
import java.util.List;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.PersistenceContext;
|
||||
import javax.persistence.Version;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
privileged aspect LoanShark_Roo_Entity {
|
||||
|
||||
@PersistenceContext
|
||||
transient EntityManager LoanShark.entityManager;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
@Column(name = "id")
|
||||
private Long LoanShark.id;
|
||||
|
||||
@Version
|
||||
@Column(name = "version")
|
||||
private Integer LoanShark.version;
|
||||
|
||||
public Long LoanShark.getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void LoanShark.setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer LoanShark.getVersion() {
|
||||
return this.version;
|
||||
}
|
||||
|
||||
public void LoanShark.setVersion(Integer version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void LoanShark.persist() {
|
||||
if (this.entityManager == null) this.entityManager = entityManager();
|
||||
this.entityManager.persist(this);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void LoanShark.remove() {
|
||||
if (this.entityManager == null) this.entityManager = entityManager();
|
||||
if (this.entityManager.contains(this)) {
|
||||
this.entityManager.remove(this);
|
||||
} else {
|
||||
LoanShark attached = this.entityManager.find(LoanShark.class, this.id);
|
||||
this.entityManager.remove(attached);
|
||||
}
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void LoanShark.flush() {
|
||||
if (this.entityManager == null) this.entityManager = entityManager();
|
||||
this.entityManager.flush();
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void LoanShark.merge() {
|
||||
if (this.entityManager == null) this.entityManager = entityManager();
|
||||
LoanShark merged = this.entityManager.merge(this);
|
||||
this.entityManager.flush();
|
||||
this.id = merged.getId();
|
||||
}
|
||||
|
||||
public static final EntityManager LoanShark.entityManager() {
|
||||
EntityManager em = new LoanShark().entityManager;
|
||||
if (em == null) throw new IllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
|
||||
return em;
|
||||
}
|
||||
|
||||
public static long LoanShark.countLoanSharks() {
|
||||
return (Long) entityManager().createQuery("select count(o) from LoanShark o").getSingleResult();
|
||||
}
|
||||
|
||||
public static List<LoanShark> LoanShark.findAllLoanSharks() {
|
||||
return entityManager().createQuery("select o from LoanShark o").getResultList();
|
||||
}
|
||||
|
||||
public static LoanShark LoanShark.findLoanShark(Long id) {
|
||||
if (id == null) return null;
|
||||
return entityManager().find(LoanShark.class, id);
|
||||
}
|
||||
|
||||
public static List<LoanShark> LoanShark.findLoanSharkEntries(int firstResult, int maxResults) {
|
||||
return entityManager().createQuery("select o from LoanShark o").setFirstResult(firstResult).setMaxResults(maxResults).getResultList();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
|
||||
import java.lang.String;
|
||||
import java.lang.SuppressWarnings;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.Query;
|
||||
|
||||
privileged aspect LoanShark_Roo_Finder {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static Query LoanShark.findLoanSharksByName(String name) {
|
||||
if (name == null || name.length() == 0) throw new IllegalArgumentException("The name argument is required");
|
||||
EntityManager em = LoanShark.entityManager();
|
||||
Query q = em.createQuery("SELECT LoanShark FROM LoanShark AS loanshark WHERE loanshark.name = :name");
|
||||
q.setParameter("name", name);
|
||||
return q;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
|
||||
import java.lang.Double;
|
||||
import java.lang.Long;
|
||||
import java.lang.String;
|
||||
|
||||
privileged aspect LoanShark_Roo_JavaBean {
|
||||
|
||||
public String LoanShark.getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void LoanShark.setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Long LoanShark.getCounter() {
|
||||
return this.counter;
|
||||
}
|
||||
|
||||
public void LoanShark.setCounter(Long counter) {
|
||||
this.counter = counter;
|
||||
}
|
||||
|
||||
public Double LoanShark.getAverageRate() {
|
||||
return this.averageRate;
|
||||
}
|
||||
|
||||
public void LoanShark.setAverageRate(Double averageRate) {
|
||||
this.averageRate = averageRate;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.domain;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
privileged aspect LoanShark_Roo_ToString {
|
||||
|
||||
public String LoanShark.toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("Id: ").append(getId()).append(", ");
|
||||
sb.append("Version: ").append(getVersion()).append(", ");
|
||||
sb.append("Name: ").append(getName()).append(", ");
|
||||
sb.append("Counter: ").append(getCounter()).append(", ");
|
||||
sb.append("AverageRate: ").append(getAverageRate());
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.web;
|
||||
|
||||
import org.springframework.roo.addon.web.mvc.controller.RooWebScaffold;
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
@RooWebScaffold(path = "loanshark", automaticallyMaintainView = true, formBackingObject = LoanShark.class)
|
||||
@RequestMapping("/loanshark/**")
|
||||
@Controller
|
||||
public class SharkController {
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
package com.springframework.integration.loanbroker.loanshark.web;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
import java.lang.Long;
|
||||
import java.lang.String;
|
||||
import javax.validation.Valid;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.validation.BindingResult;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
privileged aspect SharkController_Roo_Controller {
|
||||
|
||||
@RequestMapping(value = "/loanshark", method = RequestMethod.POST)
|
||||
public String SharkController.create(@Valid LoanShark loanShark, BindingResult result, ModelMap modelMap) {
|
||||
if (loanShark == null) throw new IllegalArgumentException("A loanShark is required");
|
||||
if (result.hasErrors()) {
|
||||
modelMap.addAttribute("loanShark", loanShark);
|
||||
return "loanshark/create";
|
||||
}
|
||||
loanShark.persist();
|
||||
return "redirect:/loanshark/" + loanShark.getId();
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/loanshark/form", method = RequestMethod.GET)
|
||||
public String SharkController.createForm(ModelMap modelMap) {
|
||||
modelMap.addAttribute("loanShark", new LoanShark());
|
||||
return "loanshark/create";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/loanshark/{id}", method = RequestMethod.GET)
|
||||
public String SharkController.show(@PathVariable("id") Long id, ModelMap modelMap) {
|
||||
if (id == null) throw new IllegalArgumentException("An Identifier is required");
|
||||
modelMap.addAttribute("loanShark", LoanShark.findLoanShark(id));
|
||||
return "loanshark/show";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/loanshark", method = RequestMethod.GET)
|
||||
public String SharkController.list(@RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size, ModelMap modelMap) {
|
||||
if (page != null || size != null) {
|
||||
int sizeNo = size == null ? 10 : size.intValue();
|
||||
modelMap.addAttribute("loansharks", LoanShark.findLoanSharkEntries(page == null ? 0 : (page.intValue() - 1) * sizeNo, sizeNo));
|
||||
float nrOfPages = (float) LoanShark.countLoanSharks() / sizeNo;
|
||||
modelMap.addAttribute("maxPages", (int) ((nrOfPages > (int) nrOfPages || nrOfPages == 0.0) ? nrOfPages + 1 : nrOfPages));
|
||||
} else {
|
||||
modelMap.addAttribute("loansharks", LoanShark.findAllLoanSharks());
|
||||
}
|
||||
return "loanshark/list";
|
||||
}
|
||||
|
||||
@RequestMapping(method = RequestMethod.PUT)
|
||||
public String SharkController.update(@Valid LoanShark loanShark, BindingResult result, ModelMap modelMap) {
|
||||
if (loanShark == null) throw new IllegalArgumentException("A loanShark is required");
|
||||
if (result.hasErrors()) {
|
||||
modelMap.addAttribute("loanShark", loanShark);
|
||||
return "loanshark/update";
|
||||
}
|
||||
loanShark.merge();
|
||||
return "redirect:/loanshark/" + loanShark.getId();
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/loanshark/{id}/form", method = RequestMethod.GET)
|
||||
public String SharkController.updateForm(@PathVariable("id") Long id, ModelMap modelMap) {
|
||||
if (id == null) throw new IllegalArgumentException("An Identifier is required");
|
||||
modelMap.addAttribute("loanShark", LoanShark.findLoanShark(id));
|
||||
return "loanshark/update";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/loanshark/{id}", method = RequestMethod.DELETE)
|
||||
public String SharkController.delete(@PathVariable("id") Long id, @RequestParam(value = "page", required = false) Integer page, @RequestParam(value = "size", required = false) Integer size) {
|
||||
if (id == null) throw new IllegalArgumentException("An Identifier is required");
|
||||
LoanShark.findLoanShark(id).remove();
|
||||
return "redirect:/loanshark?page=" + ((page == null) ? "1" : page.toString()) + "&size=" + ((size == null) ? "10" : size.toString());
|
||||
}
|
||||
|
||||
@RequestMapping(value = "find/ByName/form", method = RequestMethod.GET)
|
||||
public String SharkController.findLoanSharksByNameForm(ModelMap modelMap) {
|
||||
return "loanshark/findLoanSharksByName";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "find/ByName", method = RequestMethod.GET)
|
||||
public String SharkController.findLoanSharksByName(@RequestParam("name") String name, ModelMap modelMap) {
|
||||
if (name == null || name.length() == 0) throw new IllegalArgumentException("A Name is required.");
|
||||
modelMap.addAttribute("loansharks", LoanShark.findLoanSharksByName(name).getResultList());
|
||||
return "loanshark/list";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
|
||||
|
||||
<persistence-unit name="persistenceUnit" transaction-type="RESOURCE_LOCAL">
|
||||
<provider>org.hibernate.ejb.HibernatePersistence</provider>
|
||||
<properties>
|
||||
<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
|
||||
<!--value='create' to build a new database on each run; value='update' to modify an existing database; value='create-drop' means the same as 'create' but also drops tables when Hibernate closes; value='validate' makes no changes to the database-->
|
||||
<property name="hibernate.hbm2ddl.auto" value="create"/>
|
||||
<property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.ImprovedNamingStrategy"/>
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
|
||||
<import resource="integrationContext.xml" />
|
||||
<!--
|
||||
This will automatically locate any and all property files you have
|
||||
within your classpath, provided they fall under the META-INF/spring
|
||||
directory. The located property files are parsed and their values can
|
||||
then be used within application context files in the form of
|
||||
${propertyKey}.
|
||||
-->
|
||||
<context:property-placeholder location="classpath*:META-INF/spring/*.properties"/>
|
||||
|
||||
<!--
|
||||
Turn on AspectJ @Configurable support. As a result, any time you
|
||||
instantiate an object, Spring will attempt to perform dependency
|
||||
injection on that object. This occurs for instantiation via the "new"
|
||||
keyword, as well as via reflection. This is possible because AspectJ
|
||||
is used to "weave" Roo-based applications at compile time. In effect
|
||||
this feature allows dependency injection of any object at all in your
|
||||
system, which is a very useful feature (without @Configurable you'd
|
||||
only be able to dependency inject objects acquired from Spring or
|
||||
subsequently presented to a specific Spring dependency injection
|
||||
method). Roo applications use this useful feature in a number of
|
||||
areas, such as @PersistenceContext injection into entities.
|
||||
-->
|
||||
<context:spring-configured/>
|
||||
|
||||
<!--
|
||||
This declaration will cause Spring to locate every @Component,
|
||||
@Repository and @Service in your application. In practical terms this
|
||||
allows you to write a POJO and then simply annotate the new POJO as an
|
||||
@Service and Spring will automatically detect, instantiate and
|
||||
dependency inject your service at startup time. Importantly, you can
|
||||
then also have your new service injected into any other class that
|
||||
requires it simply by declaring a field for your service inside the
|
||||
relying class and Spring will inject it. Note that two exclude filters
|
||||
are declared. The first ensures that Spring doesn't spend time
|
||||
introspecting Roo-specific ITD aspects. The second ensures Roo doesn't
|
||||
instantiate your @Controller classes, as these should be instantiated
|
||||
by a web tier application context. Refer to web.xml for more details
|
||||
about the web tier application context setup services.
|
||||
|
||||
Furthermore, this turns on @Autowired, @PostConstruct etc support. These
|
||||
annotations allow you to use common Spring and Java Enterprise Edition
|
||||
annotations in your classes without needing to do any special configuration.
|
||||
The most commonly used annotation is @Autowired, which instructs Spring to
|
||||
dependency inject an object into your class.
|
||||
-->
|
||||
<context:component-scan base-package="com.springframework.integration.loanbroker.loanshark">
|
||||
<context:exclude-filter expression=".*_Roo_.*" type="regex"/>
|
||||
<context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
|
||||
</context:component-scan>
|
||||
|
||||
<bean class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close" id="dataSource">
|
||||
<property name="driverClassName" value="${database.driverClassName}"/>
|
||||
<property name="url" value="${database.url}"/>
|
||||
<property name="username" value="${database.username}"/>
|
||||
<property name="password" value="${database.password}"/>
|
||||
</bean>
|
||||
<bean class="org.springframework.orm.jpa.JpaTransactionManager" id="transactionManager">
|
||||
<property name="entityManagerFactory" ref="entityManagerFactory"/>
|
||||
</bean>
|
||||
<tx:annotation-driven mode="aspectj" transaction-manager="transactionManager"/>
|
||||
<bean class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" id="entityManagerFactory">
|
||||
<property name="dataSource" ref="dataSource"/>
|
||||
</bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,6 @@
|
||||
#Updated at Wed Mar 24 10:09:33 PDT 2010
|
||||
#Wed Mar 24 10:09:33 PDT 2010
|
||||
database.password=
|
||||
database.url=jdbc\:hsqldb\:mem\:loanshark
|
||||
database.username=sa
|
||||
database.driverClassName=org.hsqldb.jdbcDriver
|
||||
@@ -0,0 +1,30 @@
|
||||
<?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:int="http://www.springframework.org/schema/integration"
|
||||
xmlns:int-ip="http://www.springframework.org/schema/integration/ip"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
||||
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
|
||||
http://www.springframework.org/schema/integration/ip http://www.springframework.org/schema/integration/ip/spring-integration-ip.xsd">
|
||||
|
||||
<int-ip:inbound-channel-adapter id="udpIn"
|
||||
channel="channel"
|
||||
multicast="true"
|
||||
protocol="udp"
|
||||
multicast-address="225.6.7.8"
|
||||
port="11111"/>
|
||||
|
||||
<int:channel id="channel" />
|
||||
<int:transformer ref="transformer"
|
||||
input-channel="channel"
|
||||
output-channel="transformedChannel"/>
|
||||
<int:channel id="transformedChannel" />
|
||||
<int:service-activator
|
||||
id="activator"
|
||||
input-channel="transformedChannel"
|
||||
ref="accumulator" />
|
||||
|
||||
<bean id="accumulator" class="com.springframework.integration.loanbroker.loanshark.biz.Accumulator" />
|
||||
<bean id="transformer" class="com.springframework.integration.loanbroker.loanshark.biz.SharkTransformer" />
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,12 @@
|
||||
#Updated at Wed Mar 24 10:09:35 PDT 2010
|
||||
#Wed Mar 24 10:09:35 PDT 2010
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.rootLogger=DEBUG, stdout, R
|
||||
log4j.appender.R.File=application.log
|
||||
log4j.appender.R.MaxFileSize=100KB
|
||||
log4j.appender.R.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.R.MaxBackupIndex=1
|
||||
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.R=org.apache.log4j.RollingFileAppender
|
||||
@@ -0,0 +1 @@
|
||||
styleSheet=static/styles/alt.css
|
||||
@@ -0,0 +1 @@
|
||||
styleSheet=static/styles/standard.css
|
||||
@@ -0,0 +1,7 @@
|
||||
#Updated at test Wed Mar 24 10:09:34 PDT 2010
|
||||
#Wed Mar 24 10:09:34 PDT 2010
|
||||
application.name=Loanshark
|
||||
label.loanshark=Loan Shark
|
||||
label.loansharks=Loan Sharks
|
||||
label.name=Name
|
||||
menu.category.web_mvc_jsp_loanshark_category.label=Loan Shark
|
||||
@@ -0,0 +1,95 @@
|
||||
#menu
|
||||
global.menu.new=Create new {0}
|
||||
global.menu.list=List all {0}
|
||||
global.menu.find=Find by {0}
|
||||
global.language.switch=Switch language to {0}
|
||||
global.language=Language
|
||||
global.sponsored=Sponsored by SpringSource
|
||||
global.theme=Theme
|
||||
global.theme.alt=alt
|
||||
global.theme.standard=standard
|
||||
|
||||
#welcome page
|
||||
welcome.titlepane=Welcome to {0}
|
||||
welcome.h3=Welcome to {0}
|
||||
welcome.text=Spring Roo provides interactive, lightweight and user customizable tooling that enables rapid delivery of high performance enterprise Java applications.
|
||||
|
||||
#entity labels
|
||||
entity.list.all=List all {0}
|
||||
entity.show=Show {0}
|
||||
entity.create=Create new {0}
|
||||
entity.update=Update {0}
|
||||
entity.delete=Delete {0}
|
||||
entity.find=Find by {0}
|
||||
entity.not.found=No {0} found.
|
||||
entity.not.found.single=No {0} found with this id.
|
||||
|
||||
#button labels
|
||||
button.home=Home
|
||||
button.save=Save
|
||||
button.update=Update
|
||||
button.find=Find
|
||||
button.cancel=Cancel
|
||||
button.proceed=Proceed
|
||||
button.submit=Submit
|
||||
button.reset=Reset
|
||||
button.end=End
|
||||
button.showmessage=Show Message
|
||||
button.showstacktrace=Show Stack Trace
|
||||
button.showcookie=Show Cookie
|
||||
|
||||
#field labels
|
||||
field.simple.validation=Enter {0} {1}
|
||||
field.invalid.email=Please enter a valid email
|
||||
field.invalid.number=Number with \\'-\\' or \\'.\\' allowed
|
||||
field.invalid.integer=Integer numbers only
|
||||
field.invalid=Please enter valid {0}
|
||||
field.required=required
|
||||
|
||||
#list labels
|
||||
list.first=First Page
|
||||
list.next=Next Page
|
||||
list.previous=Previous Page
|
||||
list.last=Last Page
|
||||
list.page=Page {0} of {1}
|
||||
list.size=List results per page:
|
||||
|
||||
#selenium
|
||||
selenium.menu.test.suite=Test Suite
|
||||
|
||||
#exception
|
||||
exception.message=Exception Message
|
||||
exception.stacktrace=Exception Stack Trace
|
||||
exception.cookie=Cookies
|
||||
exception.details=Details
|
||||
|
||||
#dataAccessFailure.jspx
|
||||
error.dataaccessfailure.title=Data access failure
|
||||
error.dataaccessfailure.problemdescription=Sorry, a problem occurred while accessing the database.
|
||||
|
||||
#resourceNotFound.jspx
|
||||
error.resourcenotfound.title=Requested Resource Not Found
|
||||
error.resourcenotfound.problemdescription=Sorry, we did not find the resource you were looking for.
|
||||
|
||||
#uncaughtException.jspx
|
||||
error.uncaughtexception.title=Internal Error
|
||||
error.uncaughtexception.problemdescription=Sorry, we encountered an internal error.
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter=Enter {0} WebFlow
|
||||
webflow.state1.title=Spring WebFlow - View State One
|
||||
webflow.state1.message=This is a simple example to get started with Spring Web Flow. The buttons below lead you to another view state (Proceed) or to an end state.
|
||||
webflow.state2.title=Spring WebFlow - View State Two
|
||||
webflow.state2.message=This is a simple example to get started with Spring Web Flow. The buttons below lead you to another view state (Proceed) or to an end state.
|
||||
webflow.endstate.title=Spring WebFlow - End State
|
||||
webflow.endstate.message=You have now reached the end of this flow.
|
||||
|
||||
#security
|
||||
security.login.title=Spring Security Login
|
||||
security.login.message=You have tried to access a protected area of this application. By default you can login as "admin", with a password of "admin".
|
||||
security.login.form.name=Name
|
||||
security.login.form.name.message=Enter your name
|
||||
security.login.form.password=Password
|
||||
security.login.form.password.message=Enter your password
|
||||
security.login.unsuccessful=Your login attempt was not successful, try again. Reason:
|
||||
security.logout=Logout
|
||||
@@ -0,0 +1,96 @@
|
||||
#menu
|
||||
global.menu.new={0} erstellen
|
||||
global.menu.list=Alle {0} finden
|
||||
global.menu.find=Suchen: {0}
|
||||
global.language.switch=Sprache nach {0} <20>ndern
|
||||
global.language=Sprache
|
||||
global.sponsored=Gesponsert von SpringSource
|
||||
global.theme=Thema
|
||||
global.theme.alt=alt
|
||||
global.theme.standard=standard
|
||||
|
||||
#welcome page
|
||||
welcome.titlepane=Willkommen zu {0}
|
||||
welcome.h3=Willkommen zu {0}
|
||||
welcome.text=Spring Roo bietet ein interaktives, leichtgewichtiges und vom Anwender anpassbares Tool, welches die schnelle Erstellung von performanten Enterprise Java Applikationen erm<72>glicht.
|
||||
|
||||
#entity labels
|
||||
entity.list.all=Liste alle {0}
|
||||
entity.show=Zeige {0}
|
||||
entity.create={0} erstellen
|
||||
entity.update={0} aktualisieren
|
||||
entity.delete={0} l<>schen
|
||||
entity.find=Finde {0}
|
||||
entity.not.found={0} konnte nicht gefunden werden.
|
||||
entity.not.found.single={0} konnte nicht gefunden werden mit dieser ID.
|
||||
|
||||
#button labels
|
||||
button.home=Home
|
||||
button.save=Speichern
|
||||
button.update=Aktualisieren
|
||||
button.find=Finde
|
||||
button.cancel=Abbrechen
|
||||
button.proceed=Fortfahren
|
||||
button.submit=Absenden
|
||||
button.reset=Zur<EFBFBD>cksetzen
|
||||
button.end=Ende
|
||||
button.showmessage=Meldung Anzeigen
|
||||
button.showstacktrace=Stack Trace Anzeigen
|
||||
button.showcookie=Cookie Anzeigen
|
||||
|
||||
#field labels
|
||||
field.simple.validation=Bitte {0} eingeben {1}
|
||||
field.invalid.email=E-Mail Adresse muss korrekt sein
|
||||
field.invalid.number=Nummern mit \\'-\\' oder \\'.\\' erlaubt
|
||||
field.invalid.integer=Nur Integer-Zahlen erlaubt
|
||||
field.required=Pflichtfeld
|
||||
|
||||
#list labels
|
||||
list.first=Erste Seite
|
||||
list.next=N<EFBFBD>chste Seite
|
||||
list.previous=Vorhergehende Seite
|
||||
list.last=Letzte Seite
|
||||
list.page=Seite {0} von {1}
|
||||
list.size=Ergebnisse pro Seite:
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter= {0} WebFlow starten
|
||||
|
||||
#selenium
|
||||
selenium.menu.test.suite=Testf<EFBFBD>lle
|
||||
|
||||
#exception
|
||||
exception.message=Exception Meldung
|
||||
exception.stacktrace=Exception Stack Trace
|
||||
exception.details=Details
|
||||
|
||||
#dataAccessFailure.jspx
|
||||
error.dataaccessfailure.title=Datenzugriff fehlgeschlagen
|
||||
error.dataaccessfailure.problemdescription=Ein Problem ist aufgetreten w<>hrend des Datenzugriffs.
|
||||
|
||||
#resourceNotFound.jspx
|
||||
error.resourcenotfound.title=Angeforderte Ressource nicht gefunden
|
||||
error.resourcenotfound.problemdescription=Die angeforderte Ressource konnte leider nicht gefunden werden.
|
||||
|
||||
#uncaughtException.jspx
|
||||
error.uncaughtexception.title=Interner Fehler
|
||||
error.uncaughtexception.problemdescription=Leider ist ein interner Fehler aufgetreten.
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter=WebFlow {0} starten
|
||||
webflow.state1.title=Spring WebFlow - Seite (View State) Eins
|
||||
webflow.state1.message=Dies ist ein einfaches Beispiel um Spring Webflow zu demonstrieren. Die Buttons unten f<>hren Sie zum n<>chsten Schritt (Fortfahren) oder zum Ende (Ende).
|
||||
webflow.state2.title=Spring WebFlow - Seite (View State) Zwei
|
||||
webflow.state2.message=Dies ist ein einfaches Beispiel um Spring Webflow zu demonstrieren. Der Button unten f<>hrt Sie zum Ende (Ende) des Flows.
|
||||
webflow.endstate.title=Spring WebFlow - Letzte Seite (End State)
|
||||
webflow.endstate.message=Sie haben das Ende des Flows erreicht.
|
||||
|
||||
#security
|
||||
security.login.title=Spring Security Login
|
||||
security.login.message=Sie haben versucht eine gesicherte Seite aufzurufen. Standardm<64><6D>ig k<>nnen Sie als "admin", mit "admin" als Passwort einloggen.
|
||||
security.login.form.name=Name
|
||||
security.login.form.name.message=Geben Sie Ihren Namen ein
|
||||
security.login.form.password=Passwort
|
||||
security.login.form.password.message=Geben Sie Ihr Passwort ein
|
||||
security.login.unsuccessful=Ihre Anmeldung war nicht erfolgreich, bitte versuchen Sie es noch einmal. Grund:
|
||||
security.logout=Ausloggen
|
||||
@@ -0,0 +1,95 @@
|
||||
#menu
|
||||
global.menu.new=Crear nuevo {0}
|
||||
global.menu.list=Listar {0}
|
||||
global.menu.find=Buscar por {0}
|
||||
global.language.switch=Cambiar idioma a {0}
|
||||
global.language=Idioma
|
||||
global.sponsored=Sponsored by SpringSource
|
||||
global.theme=Tema
|
||||
global.theme.alt=alt
|
||||
global.theme.standard=estandarte
|
||||
|
||||
#welcome page
|
||||
welcome.titlepane=Bienvenido a {0}
|
||||
welcome.h3=Bienvenido a {0}
|
||||
welcome.text=Spring Roo proporciona herramientas interactivas, ligeras y adaptables al usuario que permiten la r<>pida entrega de aplicaciones empresariales Java de alto rendimiento.
|
||||
|
||||
#entity labels
|
||||
entity.list.all=Listar {0}
|
||||
entity.show=Mostrar {0}
|
||||
entity.create=Crear nuevo {0}
|
||||
entity.update=Actualizar {0}
|
||||
entity.delete=Borrar {0}
|
||||
entity.find={0}
|
||||
entity.not.found=No se han encontrado {0}.
|
||||
entity.not.found.single=No se han encontrado {0} con este id.
|
||||
|
||||
#button labels
|
||||
button.home=Inicio
|
||||
button.save=Guardar
|
||||
button.update=Actualizar
|
||||
button.find=Buscar
|
||||
button.cancel=Cancelar
|
||||
button.proceed=Proceder
|
||||
button.submit=Enviar
|
||||
button.reset=Reiniciar
|
||||
button.end=Fin
|
||||
button.showmessage=Mostrar Mensaje
|
||||
button.showstacktrace=Mostar Stack Trace
|
||||
button.showcookie=Mostrar Cookie
|
||||
|
||||
#field labels
|
||||
field.simple.validation=Introduzca {0} {1}
|
||||
field.invalid.email=Por favor, introduzca un email v<>lido
|
||||
field.invalid.number=N<EFBFBD>meros con \\'-\\' o \\'.\\' permitidos
|
||||
field.invalid.integer=S<EFBFBD>lo n<>meros enteros
|
||||
field.invalid=Por favor, introduzca un {0} v<>lido
|
||||
field.required=requerido
|
||||
|
||||
#list labels
|
||||
list.first=Primera P<>gina
|
||||
list.next=P<EFBFBD>gina Siguiente
|
||||
list.previous=P<EFBFBD>gina Anterior
|
||||
list.last=<EFBFBD>ltima p<>gina
|
||||
list.page=P<EFBFBD>gina {0} de {1}
|
||||
list.size=Resultados por p<>gina:
|
||||
|
||||
#selenium
|
||||
selenium.menu.test.suite=Bater<EFBFBD>a de pruebas
|
||||
|
||||
#exception
|
||||
exception.message=Mensaje de la Excepci<63>n
|
||||
exception.stacktrace=Stack Trace de la Excepci<63>n
|
||||
exception.cookie=Cookies
|
||||
exception.details=Detalles
|
||||
|
||||
#dataAccessFailure.jspx
|
||||
error.dataaccessfailure.title=Error de acceso a datos
|
||||
error.dataaccessfailure.problemdescription=Lo sentimos, ha ocurrido un problema al acceder a la base de datos.
|
||||
|
||||
#resourceNotFound.jspx
|
||||
error.resourcenotfound.title=Recurso Solicitado No Encontrado
|
||||
error.resourcenotfound.problemdescription=Lo sentimos, no hemos encontrado el recurso que buscaba.
|
||||
|
||||
#uncaughtException.jspx
|
||||
error.uncaughtexception.title=Error Interno
|
||||
error.uncaughtexception.problemdescription=Lo sentimos, ha ocurrido un error interno.
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter=Empezar WebFlow {0}
|
||||
webflow.state1.title=Spring WebFlow - View State Uno
|
||||
webflow.state1.message=Este es un simple ejemplo para empezar con Spring Web Flow. Los botones de abajo llevan al siguiente estado (Proceder) o a al estado final.
|
||||
webflow.state2.title=Spring WebFlow - View State Dos
|
||||
webflow.state2.message=Este es un simple ejemplo para empezar con Spring Web Flow. El bot<6F>n de abajo lleva al fin del flujo (end state).
|
||||
webflow.endstate.title=Spring WebFlow - Estado final (End State)
|
||||
webflow.endstate.message=Ha llegado al final del flujo.
|
||||
|
||||
#security
|
||||
security.login.title=Spring Security Login
|
||||
security.login.message=Ha intentado acceder a una <20>rea protegida de esta aplicaci<63>n. Por defecto, puede iniciar sesi<73>n con "admin" y contrase<73>a "admin".
|
||||
security.login.form.name=Nombre
|
||||
security.login.form.name.message=Introduzca su nombre
|
||||
security.login.form.password=Contrase<EFBFBD>a
|
||||
security.login.form.password.message=Introduzca su constrase<73>a
|
||||
security.login.unsuccessful=Su intento de inicio de sesi<73>n no ha tenido <20>xito, int<6E>ntelo de nuevo. Raz<61>n:
|
||||
security.logout=Cerrar sesi<73>n
|
||||
@@ -0,0 +1,95 @@
|
||||
#menu
|
||||
global.menu.new=Crea nuovo {0}
|
||||
global.menu.list=Elenca tutti {0}
|
||||
global.menu.find=Trova per {0}
|
||||
global.language.switch=Cambia linguaggio in {0}
|
||||
global.language=Lingua
|
||||
global.sponsored=Sponsorizzato da SpringSource
|
||||
global.theme=Tema
|
||||
global.theme.alt=alt
|
||||
global.theme.standard=standard
|
||||
|
||||
#welcome page
|
||||
welcome.titlepane=Benvenuto in {0}
|
||||
welcome.h3=Benvenuto in {0}
|
||||
welcome.text=Spring Roo fornisce un tool interattivo, leggero e personalizzabile dall'utente, che abilita lo sviluppo rapido di applicazioni Java enterprise ad alte prestazioni.
|
||||
|
||||
#entity labels
|
||||
entity.list.all=Elenca tutti {0}
|
||||
entity.show=Mostra {0}
|
||||
entity.create=Crea nuovo {0}
|
||||
entity.update=Aggiorna {0}
|
||||
entity.delete=Elimina {0}
|
||||
entity.find={0}
|
||||
entity.not.found=Nessun {0} trovato.
|
||||
entity.not.found.single=Nessun {0} trovato con questo id.
|
||||
|
||||
#button labels
|
||||
button.home=Home
|
||||
button.save=Salva
|
||||
button.update=Aggiorna
|
||||
button.find=Trova
|
||||
button.cancel=Cancella
|
||||
button.proceed=Procedi
|
||||
button.submit=Invia
|
||||
button.reset=Azzera
|
||||
button.end=Fine
|
||||
button.showmessage=Mostra Messaggio
|
||||
button.showstacktrace=Mostra Stack Trace
|
||||
button.showcookie=Mostra Cookie
|
||||
|
||||
#field labels
|
||||
field.simple.validation=Inserisci {0} {1}
|
||||
field.invalid.email=Si prega di inserire un indirizzo email valido
|
||||
field.invalid.number=Numero con \\'-\\' o \\'.\\' ammesso
|
||||
field.invalid.integer=Solo numeri interi
|
||||
field.invalid=Si prega di inserire dei validi {0}
|
||||
field.required=richiesto
|
||||
|
||||
#list labels
|
||||
list.first=Prima pagina
|
||||
list.next=Prossima Pagina
|
||||
list.previous=Pagina Precedente
|
||||
list.last=Ultima Pagina
|
||||
list.page=Pagina {0} di {1}
|
||||
list.size=Elenco risultati per pagina:
|
||||
|
||||
#selenium
|
||||
selenium.menu.test.suite=Test Suite
|
||||
|
||||
#exception
|
||||
exception.message=Messaggio Eccezione
|
||||
exception.stacktrace=Stack Trace Eccezione
|
||||
exception.cookie=Cookies
|
||||
exception.details=Dettagli
|
||||
|
||||
#dataAccessFailure.jspx
|
||||
error.dataaccessfailure.title=Fallito l'accesso ai dati
|
||||
error.dataaccessfailure.problemdescription=Spiacente, si <20> verificato un problema durante l'accesso al database.
|
||||
|
||||
#resourceNotFound.jspx
|
||||
error.resourcenotfound.title=Risorsa richiesta non trovata
|
||||
error.resourcenotfound.problemdescription=Spiacente, non troviamo la risorsa che stai cercando.
|
||||
|
||||
#uncaughtException.jspx
|
||||
error.uncaughtexception.title=Errore Interno
|
||||
error.uncaughtexception.problemdescription=Spiacente, abbiamo incontrato un errore interno.
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter=Inserire {0} WebFlow
|
||||
webflow.state1.title=Spring WebFlow - Stato View Uno
|
||||
webflow.state1.message=Questo <20> un semplice esempio con Spring Web Flow. I pulsanti sotto conducono ad un altro view state (Procedi) o ad uno stato finale.
|
||||
webflow.state2.title=Spring WebFlow - Stato View Due
|
||||
webflow.state2.message=Questo <20> un semplice esempio per iniziare con Spring Web Flow. I pulsanti sotto conducono ad un altro stato view (Procedi) o ad uno stato finale.
|
||||
webflow.endstate.title=Spring WebFlow - Stato finale
|
||||
webflow.endstate.message=Hai raggiunto la fine di questo flusso.
|
||||
|
||||
#security
|
||||
security.login.title=Spring Security Login
|
||||
security.login.message=Hai provato ad accedere ad un area protetta di questa applicazione. Di default puoi fare il login come "admin", con password "admin".
|
||||
security.login.form.name=Nome
|
||||
security.login.form.name.message=Inserisci il tuo nome
|
||||
security.login.form.password=Password
|
||||
security.login.form.password.message=Inserisci la password
|
||||
security.login.unsuccessful=Il tentativo di login non ha avuto successo, prova ancora. Motivo:
|
||||
security.logout=Logout
|
||||
@@ -0,0 +1,96 @@
|
||||
#menu
|
||||
global.menu.new={0} maken
|
||||
global.menu.list=Toon alle {0}
|
||||
global.menu.find=Vind op {0}
|
||||
global.language.switch=Wissel taal naar: {0}
|
||||
global.language=Taal
|
||||
global.sponsored=Gesponsord door SpringSource
|
||||
global.theme=Thema
|
||||
global.theme.alt=alt
|
||||
global.theme.standard=standaard
|
||||
|
||||
#welcome page
|
||||
welcome.titlepane=Welkom bij {0}
|
||||
welcome.h3=Welkom bij {0}
|
||||
welcome.text=Spring Roo levert interactieve, lichtgewicht en door de gebruiker aanpasbare tools waarmee snel hoogwaardige Enterprise Java applicaties gemaakt kunnen worden.
|
||||
|
||||
#entity labels
|
||||
entity.list.all=Toon alle {0}
|
||||
entity.show=Toon {0}
|
||||
entity.create={0} maken
|
||||
entity.update=Bewerk {0}
|
||||
entity.delete=Verwijder {0}
|
||||
entity.find=Zoek {0}
|
||||
entity.not.found=Geen {0} gevonden.
|
||||
entity.not.found.single=Geen {0} gevonden met dit id.
|
||||
|
||||
#button labels
|
||||
button.home=Home
|
||||
button.save=Sla op
|
||||
button.update=Bewerk
|
||||
button.find=Zoek
|
||||
button.cancel=Annuleer
|
||||
button.proceed=Ga door
|
||||
button.submit=Verstuur
|
||||
button.reset=Herstel
|
||||
button.end=Einde
|
||||
button.showmessage=Toon bericht
|
||||
button.showstacktrace=Toon stack trace
|
||||
button.showcookie=Toon cookie
|
||||
|
||||
#field labels
|
||||
field.simple.validation=Voer {0} {1} in
|
||||
field.invalid.email=Voer een geldig email adres in
|
||||
field.invalid.number=Getal met \\'-\\' or \\',\\' toegestaan
|
||||
field.invalid.integer=Alleen gehele getallen
|
||||
field.invalid=Voer een geldige {0} in
|
||||
field.required=verplicht
|
||||
|
||||
#list labels
|
||||
list.first=Eerste pagina
|
||||
list.next=Volgende pagina
|
||||
list.previous=Vorige pagina
|
||||
list.last=Laatste pagina
|
||||
list.page=Pagina {0} van {1}
|
||||
list.size=Resultaten per pagina:
|
||||
|
||||
#selenium
|
||||
selenium.menu.test.suite=Test Suite
|
||||
|
||||
#exception
|
||||
#intentionally left the two exception entries below in English as Dutch translations of technical terms are confusing to Dutch developers
|
||||
exception.message=Exception Message
|
||||
exception.stacktrace=Exception Stack Trace
|
||||
exception.cookie=Cookies
|
||||
exception.details=Details
|
||||
|
||||
#dataAccessFailure.jspx
|
||||
error.dataaccessfailure.title=Data toegang gefaald
|
||||
error.dataaccessfailure.problemdescription=Sorry, er heeft zich een probleem voorgedaan bij het benaderen van de database.
|
||||
|
||||
#resourceNotFound.jspx
|
||||
error.resourcenotfound.title=Gevraagde bron is niet gevonden
|
||||
error.resourcenotfound.problemdescription=Sorry, de gevraagde bron is niet gevonden
|
||||
|
||||
#uncaughtException.jspx
|
||||
error.uncaughtexception.title=Interne fout
|
||||
error.uncaughtexception.problemdescription=Sorry, het systeem heeft een intern probleem aangetroffen
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter=Ga webflow {0} in
|
||||
webflow.state1.title=Spring WebFlow - Bekijk eerste status
|
||||
webflow.state1.message=Dit is een simpel voorbeeld van hoe met Spring Web Flow te beginnen. De knoppen hieronder leiden je naar een andere view state (Proceed), of naar een eind state.
|
||||
webflow.state2.title=Spring WebFlow - Bekijk tweede status
|
||||
webflow.state2.message=Dit is een simpel voorbeeld van hoe met Spring Web Flow te beginnen. De knoppen hieronder leiden je naar een andere view state (Proceed), of naar een eind state.
|
||||
webflow.endstate.title=Spring WebFlow - status einde
|
||||
webflow.endstate.message=U heeft het einde van deze flow bereikt.
|
||||
|
||||
#security
|
||||
security.login.title=Spring Security Login
|
||||
security.login.message=U hebt geprobeerd een beveiligd gedeelte van de applicatie te benaderen. De standaard login is "admin", met wachtwoord "admin".
|
||||
security.login.form.name=Naam
|
||||
security.login.form.name.message=Voer uw naam in
|
||||
security.login.form.password=Wachtwoord
|
||||
security.login.form.password.message=Voer uw wachtwoord in
|
||||
security.login.unsuccessful=Uw login poging was niet succesvoal, probeer het nogmaals. Reden:
|
||||
security.logout=Afmelden
|
||||
@@ -0,0 +1,96 @@
|
||||
#menu
|
||||
global.menu.new=Skapa ny {0}
|
||||
global.menu.list=Visa alla {0}
|
||||
global.menu.find=S<EFBFBD>k p<> {0}
|
||||
global.language.switch=Byt spr<70>k till {0}
|
||||
global.language=Spr<EFBFBD>k
|
||||
global.sponsored=Sponsrad av SpringSource
|
||||
global.theme=Tema
|
||||
global.theme.alt=alt
|
||||
global.theme.standard=standard
|
||||
|
||||
#welcome page
|
||||
welcome.titlepane=V<EFBFBD>lkommen till {0}
|
||||
welcome.h3=V<EFBFBD>lkommen till {0}
|
||||
welcome.text=Spring Roo ger interaktiva, l<>ttviktiga verktyg som kan anpassas av anv<6E>ndaren och m<>jligg<67>r snabb leverans av h<>gpresterande enterprise Java applikationer.
|
||||
|
||||
#entity labels
|
||||
entity.list.all=Visa alla {0}
|
||||
entity.show=Visa {0}
|
||||
entity.create=Skapa ny {0}
|
||||
entity.update=Uppdatera {0}
|
||||
entity.delete=Ta bort {0}
|
||||
entity.find=S<EFBFBD>k p<> {0}
|
||||
entity.not.found=Ingen {0} hittades.
|
||||
entity.not.found.single=Ingen {0} hittades med detta id.
|
||||
|
||||
#button labels
|
||||
button.home=Hem
|
||||
button.save=Spara
|
||||
button.update=Uppdatera
|
||||
button.find=Hitta
|
||||
button.cancel=Avbryt
|
||||
button.proceed=Forts<EFBFBD>tt
|
||||
button.submit=Skicka
|
||||
button.reset=B<EFBFBD>rja om
|
||||
button.end=Sista
|
||||
button.showmessage=Visa meddelande
|
||||
button.showstacktrace=Visa Stack Trace
|
||||
button.showcookie=Visa Cookie
|
||||
|
||||
#field labels
|
||||
field.simple.validation=Ange {0} {1}
|
||||
field.invalid.email=Var v<>nlig anv<6E>nd en giltig emailadress
|
||||
field.invalid.number=Siffra med \\'-\\' eller \\'.\\' till<6C>ten
|
||||
field.invalid.integer=Endast heltal
|
||||
field.invalid=Var v<>nlig anv<6E>d en giltig {0}
|
||||
field.required=obligatoriskt
|
||||
|
||||
#list labels
|
||||
list.first=F<EFBFBD>rsta sidan
|
||||
list.next=N<EFBFBD>sta sida
|
||||
list.previous=F<EFBFBD>rra sidan
|
||||
list.last=Sista sidan
|
||||
list.page=Sida {0} av {1}
|
||||
list.size=Visa antal resultat per sida:
|
||||
|
||||
#selenium
|
||||
selenium.menu.test.suite=Test Svit
|
||||
|
||||
#exception
|
||||
exception.message=Undantagsmeddelande
|
||||
exception.stacktrace=Undantag Stack Trace
|
||||
exception.cookie=Cookies
|
||||
exception.details=Detaljer
|
||||
|
||||
#dataAccessFailure.jspx
|
||||
error.dataaccessfailure.title=Fel vid datal<61>sning
|
||||
error.dataaccessfailure.problemdescription=Beklagar, ett problem uppstod vid l<>sning av databasen.
|
||||
|
||||
#resourceNotFound.jspx
|
||||
error.resourcenotfound.title=Efterfr<EFBFBD>gad tillg<6C>ng hittades inte
|
||||
error.resourcenotfound.problemdescription=Beklagar, vi kunde inte hitta tillg<6C>ngen du efterfr<66>gade.
|
||||
|
||||
#uncaughtException.jspx
|
||||
error.uncaughtexception.title=Internt fel
|
||||
error.uncaughtexception.problemdescription=Beklagar, ett internt fel intr<74>ffade.
|
||||
|
||||
#webflow
|
||||
webflow.menu.enter=B<EFBFBD>rja {0} WebFlow
|
||||
webflow.state1.title=Spring WebFlow - See tillst<73>nd ett
|
||||
webflow.state1.message=Det h<>r <20>r ett enkelt exempel p<> hur du kommer ig<69>ng med Spring Web Flow. Knapparna nedan leder dig till ett annat tillst<73>nd (Forts<74>tt) eller till sluttillst<73>ndet.
|
||||
webflow.state2.title=Spring WebFlow - See tillst<73>nd tv<74>
|
||||
webflow.state2.message=Det h<>r <20>r ett enkelt exempel p<> hur du kommer ig<69>ng med Spring Web Flow. Knapparna nedan leder dig till ett annat tillst<73>nd (Forts<74>tt) eller till sluttillst<73>ndet.
|
||||
webflow.endstate.title=Spring WebFlow - Sluttillst<73>ndet
|
||||
webflow.endstate.message=Du har nu kommit till slutet p<> detta fl<66>de
|
||||
|
||||
#security
|
||||
security.login.title=Spring Security Login
|
||||
security.login.message=Du har f<>rs<72>kt komma in p<> en skyddad del av den h<>r applikationen. Som standard kan du logga in som "admin", med l<>senord "admin".
|
||||
|
||||
security.login.form.name=Namn
|
||||
security.login.form.name.message=Ange ditt namn
|
||||
security.login.form.password=L<EFBFBD>senord
|
||||
security.login.form.password.message=Ange ditt l<>senord
|
||||
security.login.unsuccessful=Ditt f<>rs<72>k att logga in misslyckades, f<>rs<72>k igen. Anledning:
|
||||
security.logout=Logga ut
|
||||
@@ -0,0 +1,71 @@
|
||||
<html
|
||||
xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:tiles="http://tiles.apache.org/tags-tiles"
|
||||
xmlns:form="http://www.springframework.org/tags/form"
|
||||
xmlns:spring="http://www.springframework.org/tags"
|
||||
xmlns:roo="urn:jsptagdir:/WEB-INF/tags" >
|
||||
|
||||
<jsp:directive.page contentType="text/html;charset=UTF-8" />
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=8" />
|
||||
<spring:theme code="styleSheet" var="roo_css"/>
|
||||
<spring:url value="/${roo_css}" var="roo_css_url"/>
|
||||
<spring:url value="/resources/dojo/dojo.js" var="dojo_url"/>
|
||||
<spring:url value="/resources/dijit/themes/tundra/tundra.css" var="tundra_url"/>
|
||||
<spring:url value="/resources/spring/Spring.js" var="spring_url"/>
|
||||
<spring:url value="/resources/spring/Spring-Dojo.js" var="spring_dojo_url"/>
|
||||
<spring:url value="/static/images/favicon.ico" var="favicon" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}"><!-- //required for FF3 and Opera --></link>
|
||||
<link rel="stylesheet" type="text/css" href="${tundra_url}"><!-- //required for FF3 and Opera --></link>
|
||||
<link rel="SHORTCUT ICON" href="${favicon}" />
|
||||
<script type="text/javascript"><![CDATA[
|
||||
function readCookie(name) {
|
||||
var nameEQ = name + '=';
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
var djConfig={locale:readCookie('locale')};
|
||||
]]>
|
||||
</script>
|
||||
<script src="${dojo_url}" type="text/javascript" ><!-- //required for FF3 and Opera --></script>
|
||||
<script src="${spring_url}" type="text/javascript"><!-- //required for FF3 and Opera --></script>
|
||||
<script src="${spring_dojo_url}" type="text/javascript"><!-- //required for FF3 and Opera --></script>
|
||||
<script language="JavaScript" type="text/javascript">dojo.require("dojo.parser");</script>
|
||||
<spring:message code="application.name" var="app_name"/>
|
||||
<title><spring:message code="welcome.h3" arguments="${app_name}" /></title>
|
||||
</head>
|
||||
<body class="tundra spring">
|
||||
<div id="wrapper">
|
||||
<tiles:insertAttribute name="menu" ignore="true" />
|
||||
<div id="main">
|
||||
<tiles:insertAttribute name="body" />
|
||||
<div id="footer">
|
||||
<spring:url var="home" value="/" />
|
||||
<span><a href="${home}"><spring:message code="button.home"/></a></span>
|
||||
<c:if test="${pageContext.request.userPrincipal != null}">
|
||||
<c:out value=" | "/>
|
||||
<span>
|
||||
<spring:url var="logout" value="/static/j_spring_security_logout" />
|
||||
<a href="${logout}"><spring:message code="security.logout" /></a>
|
||||
</span>
|
||||
</c:if>
|
||||
|
||||
<roo:language />
|
||||
<roo:theme />
|
||||
|
||||
<spring:url var="logo" value="/static/images/springsource-logo.png" />
|
||||
<spring:message code="global.sponsored" var="sponsored"/>
|
||||
<span><a href="http://springsource.com" title="${sponsored}"><img src="${logo}" alt="${sponsored}" align="right"/></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE tiles-definitions PUBLIC
|
||||
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"
|
||||
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
|
||||
|
||||
<tiles-definitions>
|
||||
|
||||
<definition name="default" template="/WEB-INF/layouts/default.jspx">
|
||||
<put-attribute name="menu" value="/WEB-INF/views/menu.jspx" />
|
||||
</definition>
|
||||
|
||||
<definition name="public" template="/WEB-INF/layouts/default.jspx" />
|
||||
|
||||
</tiles-definitions>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
|
||||
|
||||
<!-- The controllers are autodetected POJOs labeled with the @Controller annotation. -->
|
||||
<context:component-scan base-package="com.springframework.integration.loanbroker.loanshark" use-default-filters="false">
|
||||
<context:include-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
|
||||
</context:component-scan>
|
||||
|
||||
<!-- Turns on support for mapping requests to Spring MVC @Controller methods
|
||||
Also registers default Formatters and Validators for use across all @Controllers -->
|
||||
<mvc:annotation-driven/>
|
||||
|
||||
<!-- register "global" interceptor beans to apply to all registered HandlerMappings -->
|
||||
<mvc:interceptors>
|
||||
<bean class="org.springframework.web.servlet.theme.ThemeChangeInterceptor"/>
|
||||
<bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" p:paramName="lang"/>
|
||||
</mvc:interceptors>
|
||||
|
||||
<!-- selects a static view for rendering without the need for an explicit controller -->
|
||||
<mvc:view-controller path="/index"/>
|
||||
<mvc:view-controller path="/uncaughtException"/>
|
||||
<mvc:view-controller path="/resourceNotFound"/>
|
||||
<mvc:view-controller path="/dataAccessFailure"/>
|
||||
|
||||
<!-- Resolves logical view names returned by Controllers to Tiles; a view
|
||||
name to resolve is treated as the name of a tiles definition -->
|
||||
<bean class="org.springframework.js.ajax.AjaxUrlBasedViewResolver" id="tilesViewResolver">
|
||||
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView"/>
|
||||
</bean>
|
||||
|
||||
<!-- Configures the Tiles layout system -->
|
||||
<bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer" id="tilesConfigurer">
|
||||
<property name="definitions">
|
||||
<list>
|
||||
<value>/WEB-INF/layouts/layouts.xml</value>
|
||||
<!-- Scan views directory for Tiles configurations -->
|
||||
<value>/WEB-INF/views/**/views.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- Resolves localized messages*.properties and application.properties files in the application to allow for internationalization.
|
||||
The messages*.properties files translate Roo generated messages which are part of the admin interface, the application.properties
|
||||
resource bundle localizes all application specific messages such as entity names and menu items. -->
|
||||
<bean class="org.springframework.context.support.ReloadableResourceBundleMessageSource" id="messageSource" p:basenames="WEB-INF/i18n/messages,WEB-INF/i18n/application" p:fallbackToSystemLocale="false"/>
|
||||
|
||||
<!-- store preferred language configuration in a cookie -->
|
||||
<bean class="org.springframework.web.servlet.i18n.CookieLocaleResolver" id="localeResolver" p:cookieName="locale"/>
|
||||
|
||||
<!-- resolves localized <theme_name>.properties files in the classpath to allow for theme support -->
|
||||
<bean class="org.springframework.ui.context.support.ResourceBundleThemeSource" id="themeSource"/>
|
||||
|
||||
<!-- store preferred theme configuration in a cookie -->
|
||||
<bean class="org.springframework.web.servlet.theme.CookieThemeResolver" id="themeResolver" p:cookieName="theme" p:defaultThemeName="standard"/>
|
||||
|
||||
<!-- This bean resolves specific types of exceptions to corresponding logical - view names for error views.
|
||||
The default behaviour of DispatcherServlet - is to propagate all exceptions to the servlet container:
|
||||
this will happen - here with all other types of exceptions. -->
|
||||
<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver" p:defaultErrorView="uncaughtException">
|
||||
<property name="exceptionMappings">
|
||||
<props>
|
||||
<prop key=".DataAccessException">dataAccessFailure</prop>
|
||||
<prop key=".NoSuchRequestHandlingMethodException">resourceNotFound</prop>
|
||||
<prop key=".TypeMismatchException">resourceNotFound</prop>
|
||||
<prop key=".MissingServletRequestParameterException">resourceNotFound</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- allows for integration of file upload functionality -->
|
||||
<bean class="org.springframework.web.multipart.commons.CommonsMultipartResolver" id="multipartResolver"/>
|
||||
</beans>
|
||||
@@ -0,0 +1,93 @@
|
||||
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
|
||||
<span>
|
||||
<c:out value=" | "/>
|
||||
<spring:message code="global.language" />
|
||||
<c:out value=": "/>
|
||||
<spring:url var="url_en" value="">
|
||||
<spring:param name="lang" value="en" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:url var="img_en" value="/static/images/gb.png" />
|
||||
<spring:message code="global.language.switch" arguments="English" var="lang_en"/>
|
||||
<a href="${url_en}" title="${lang_en}"><img src="${img_en}" alt="${lang_en}"/></a>
|
||||
<c:out value=" "/>
|
||||
|
||||
<spring:url var="img_de" value="/static/images/de.png" />
|
||||
<spring:url var="url_de" value="">
|
||||
<spring:param name="lang" value="de" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.language.switch" arguments="Deutsch" var="lang_de"/>
|
||||
<a href="${url_de}" title="${lang_de}"><img src="${img_de}" alt="${lang_de}"/></a>
|
||||
<c:out value=" "/>
|
||||
|
||||
<spring:url var="img_sv" value="/static/images/sv.png" />
|
||||
<spring:url var="url_sv" value="">
|
||||
<spring:param name="lang" value="sv" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.language.switch" arguments="Svenska" var="lang_sv"/>
|
||||
<a href="${url_sv}" title="${lang_sv}"><img src="${img_sv}" alt="${lang_sv}"/></a>
|
||||
<c:out value=" "/>
|
||||
|
||||
<spring:url var="img_es" value="/static/images/es.png" />
|
||||
<spring:url var="url_es" value="">
|
||||
<spring:param name="lang" value="es" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.language.switch" arguments="Espanol" var="lang_es"/>
|
||||
<a href="${url_es}" title="${lang_es}"><img src="${img_es}" alt="${lang_es}"/></a>
|
||||
<c:out value=" "/>
|
||||
|
||||
<spring:url var="img_it" value="/static/images/it.png" />
|
||||
<spring:url var="url_it" value="">
|
||||
<spring:param name="lang" value="it" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.language.switch" arguments="Italiano" var="lang_it"/>
|
||||
<a href="${url_it}" title="${lang_it}"><img src="${img_it}" alt="${lang_it}"/></a>
|
||||
<c:out value=" "/>
|
||||
|
||||
<spring:url var="img_nl" value="/static/images/nl.png" />
|
||||
<spring:url var="url_nl" value="">
|
||||
<spring:param name="lang" value="nl" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.language.switch" arguments="Nederlandse" var="lang_nl"/>
|
||||
<a href="${url_nl}" title="${lang_nl}"><img src="${img_nl}" alt="${lang_nl}"/></a>
|
||||
|
||||
</span>
|
||||
|
||||
</jsp:root>
|
||||
@@ -0,0 +1,83 @@
|
||||
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
|
||||
<jsp:directive.attribute name="maxPages" type="java.lang.Integer" required="true" description="The maximum number of pages available (ie tableRecordCount / size)"/>
|
||||
<jsp:directive.attribute name="page" type="java.lang.Integer" required="false" description="The current page (not required, defaults to 1)"/>
|
||||
<jsp:directive.attribute name="size" type="java.lang.Integer" required="false" description="The number of records per page (not required, defaults to 10)"/>
|
||||
|
||||
<c:if test="${empty page || page lt 1}">
|
||||
<c:set var="page" value="1" />
|
||||
</c:if>
|
||||
|
||||
<c:if test="${empty size || size lt 1}">
|
||||
<c:set var="size" value="10" />
|
||||
</c:if>
|
||||
|
||||
<spring:message code="list.size" var="list_size"/>
|
||||
<c:out value="${list_size} "/>
|
||||
|
||||
<c:forEach var="i" begin="5" end="25" step="5">
|
||||
<c:choose>
|
||||
<c:when test="${size == i}">
|
||||
<c:out value="${i}" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<spring:url value="" var="sizeUrl">
|
||||
<spring:param name="page" value="${page}" />
|
||||
<spring:param name="size" value="${i}" />
|
||||
</spring:url>
|
||||
<a href="${sizeUrl}">${i}</a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<c:out value=" "/>
|
||||
</c:forEach>
|
||||
<c:out value="| "/>
|
||||
|
||||
<c:if test="${page ne 1}">
|
||||
<spring:url value="" var="first">
|
||||
<spring:param name="page" value="1" />
|
||||
<spring:param name="size" value="${size}" />
|
||||
</spring:url>
|
||||
<spring:url value="/static/images/resultset_first.png" var="first_image_url" />
|
||||
<spring:message code="list.first" var="first_label" />
|
||||
<a class="image" href="${first}" title="${first_label}">
|
||||
<img alt="${first_label}" src="${first_image_url}" />
|
||||
</a>
|
||||
</c:if>
|
||||
<c:if test="${page gt 1}">
|
||||
<spring:url value="" var="previous">
|
||||
<spring:param name="page" value="${page - 1}" />
|
||||
<spring:param name="size" value="${size}" />
|
||||
</spring:url>
|
||||
<spring:url value="/static/images/resultset_previous.png" var="previous_image_url" />
|
||||
<spring:message code="list.previous" var="previous_label" />
|
||||
<a class="image" href="${previous}" title="${previous_label}">
|
||||
<img alt="${previous_label}" src="${previous_image_url}" />
|
||||
</a>
|
||||
</c:if>
|
||||
<c:out value=" "/>
|
||||
<spring:message code="list.page" arguments="${page},${maxPages}" argumentSeparator=","/>
|
||||
<c:out value=" "/>
|
||||
<c:if test="${page lt maxPages}">
|
||||
<spring:url value="" var="next">
|
||||
<spring:param name="page" value="${page + 1}" />
|
||||
<spring:param name="size" value="${size}" />
|
||||
</spring:url>
|
||||
<spring:url value="/static/images/resultset_next.png" var="next_image_url" />
|
||||
<spring:message code="list.next" var="next_label" />
|
||||
<a class="image" href="${next}" title="${next_label}">
|
||||
<img alt="${next_label}" src="${next_image_url}" />
|
||||
</a>
|
||||
</c:if>
|
||||
<c:if test="${page ne maxPages}">
|
||||
<spring:url value="" var="last">
|
||||
<spring:param name="page" value="${maxPages}" />
|
||||
<spring:param name="size" value="${size}" />
|
||||
</spring:url>
|
||||
<spring:url value="/static/images/resultset_last.png" var="last_image_url" />
|
||||
<spring:message code="list.last" var="last_label" />
|
||||
<a class="image" href="${last}" title="${last_label}">
|
||||
<img alt="${last_label}" src="${last_image_url}" />
|
||||
</a>
|
||||
</c:if>
|
||||
</jsp:root>
|
||||
@@ -0,0 +1,31 @@
|
||||
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<span>
|
||||
<c:out value=" | "/>
|
||||
<spring:message code="global.theme" />
|
||||
<c:out value=": "/>
|
||||
<spring:url var="url_theme1" value="">
|
||||
<spring:param name="theme" value="standard" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.theme.standard" var="theme_standard" />
|
||||
<a href="${url_theme1}" title="${theme_standard}">${theme_standard}</a>
|
||||
<c:out value=" | "/>
|
||||
<spring:url var="url_theme2" value="">
|
||||
<spring:param name="theme" value="alt" />
|
||||
<c:if test="${not empty param.page}">
|
||||
<spring:param name="page" value="${param.page}" />
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<spring:param name="size" value="${param.size}" />
|
||||
</c:if>
|
||||
</spring:url>
|
||||
<spring:message code="global.theme.alt" var="theme_alt" />
|
||||
<a href="${url_theme2}" title="${theme_alt}">${theme_alt}</a>
|
||||
</span>
|
||||
</jsp:root>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN" "http://tuckey.org/res/dtds/urlrewrite3.0.dtd">
|
||||
|
||||
<urlrewrite default-match-type="wildcard">
|
||||
<rule>
|
||||
<from>/resources/**</from>
|
||||
<to last="true">/resources/$1</to>
|
||||
</rule>
|
||||
<rule>
|
||||
<from>/static/WEB-INF/**</from>
|
||||
<set type="status">403</set>
|
||||
<to last="true">/static/WEB-INF/$1</to>
|
||||
</rule>
|
||||
<rule>
|
||||
<from>/static/**</from>
|
||||
<to last="true">/$1</to>
|
||||
</rule>
|
||||
<rule>
|
||||
<from>/</from>
|
||||
<to last="true">/app/index</to>
|
||||
</rule>
|
||||
<rule>
|
||||
<from>/app/**</from>
|
||||
<to last="true">/app/$1</to>
|
||||
</rule>
|
||||
<rule>
|
||||
<from>/**</from>
|
||||
<to>/app/$1</to>
|
||||
</rule>
|
||||
<outbound-rule>
|
||||
<from>/app/**</from>
|
||||
<to>/$1</to>
|
||||
</outbound-rule>
|
||||
</urlrewrite>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require("dijit.TitlePane")</script>
|
||||
<div id="_title">
|
||||
<spring:message var="app_name" code="application.name" />
|
||||
<spring:message var="title" code="welcome.titlepane" arguments="${app_name}" />
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title}'}})); </script>
|
||||
<h3>Controller Index Page</h3>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require("dijit.TitlePane")</script>
|
||||
<div id="_title">
|
||||
<spring:message var="title" code="error.dataaccessfailure.title" />
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title}'}})); </script>
|
||||
<h2>${title}</h2>
|
||||
<p><spring:message code="error.dataaccessfailure.problemdescription" /></p>
|
||||
<c:if test="${not empty exception}">
|
||||
<p>
|
||||
<h4><spring:message code="exception.details" /></h4>
|
||||
|
||||
<spring:message var="message" code="exception.message" />
|
||||
<div id="_exception">
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_exception', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${message}', open:false}})); </script>
|
||||
<c:out value="${exception.localizedMessage}" />
|
||||
</div>
|
||||
|
||||
<spring:message var="stacktrace" code="exception.stacktrace" />
|
||||
<div id="_stacktrace">
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_stacktrace', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${stacktrace}', open:false}})); </script>
|
||||
<c:forEach items="${exception.stackTrace}" var="trace">
|
||||
<c:out value="${trace}"/><br/>
|
||||
</c:forEach>
|
||||
</div>
|
||||
</p>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<div xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require("dijit.TitlePane")</script>
|
||||
<div id="_title_id">
|
||||
<spring:message var="app_name" code="application.name" />
|
||||
<spring:message var="title" code="welcome.titlepane" arguments="${app_name}" />
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_id', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title}'}})); </script>
|
||||
<h3><spring:message code="welcome.h3" arguments="${app_name}" /></h3>
|
||||
<p><spring:message code="welcome.text" /></p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,51 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require('dijit.TitlePane');</script>
|
||||
<div id="_title_div">
|
||||
<spring:message code="label.loanshark" var="entity_label"/>
|
||||
<spring:message arguments="${entity_label}" code="entity.create" var="title_msg"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_div', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title_msg}'}})); </script>
|
||||
<spring:url value="/loanshark" var="form_url"/>
|
||||
<form:form action="${form_url}" method="POST" modelAttribute="loanShark">
|
||||
<form:errors cssClass="errors" delimiter="<p/>"/>
|
||||
<div id="roo_loanShark_name">
|
||||
<label for="_name_id">Name:</label>
|
||||
<form:input cssStyle="width:250px" id="_name_id" maxlength="30" path="name" size="0"/>
|
||||
<br/>
|
||||
<form:errors cssClass="errors" id="_name_error_id" path="name"/>
|
||||
<spring:message arguments="Name" code="field.invalid" var="field_invalid"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Name," code="field.simple.validation" var="field_validation"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_name_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${field_validation}', invalidMessage: '${field_invalid}', required : false}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="roo_loanShark_counter">
|
||||
<label for="_counter_id">Counter:</label>
|
||||
<form:input cssStyle="width:250px" id="_counter_id" maxlength="30" path="counter" size="0"/>
|
||||
<br/>
|
||||
<form:errors cssClass="errors" id="_counter_error_id" path="counter"/>
|
||||
<spring:message arguments="Counter" code="field.invalid" var="field_invalid"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Counter," code="field.simple.validation" var="field_validation"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_counter_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${field_validation}', invalidMessage: '${field_invalid}', required : false}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="roo_loanShark_averageRate">
|
||||
<label for="_averageRate_id">Average Rate:</label>
|
||||
<form:input cssStyle="width:250px" id="_averageRate_id" maxlength="30" path="averageRate" size="0"/>
|
||||
<br/>
|
||||
<form:errors cssClass="errors" id="_averageRate_error_id" path="averageRate"/>
|
||||
<spring:message code="field.invalid.number" var="field_invalid"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Average Rate," code="field.simple.validation" var="field_validation"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_averageRate_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${field_validation}', invalidMessage: '${field_invalid}', regExp: '-?[0-9]*\.[0-9]*', required : false}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="submit" id="roo_loanShark_submit">
|
||||
<spring:message code="button.save" var="save_button"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
|
||||
<input id="proceed" type="submit" value="${save_button}"/>
|
||||
</div>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,25 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require('dijit.TitlePane');</script>
|
||||
<div id="_title_div">
|
||||
<spring:message code="label.name" var="entity_label"/>
|
||||
<spring:message arguments="${entity_label}" code="entity.find" var="title_msg"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_div', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title_msg}'}})); </script>
|
||||
<spring:url value="/loanshark/find/ByName" var="form_url"/>
|
||||
<form:form action="${form_url}" method="GET">
|
||||
<div id="roo_loanShark_name">
|
||||
<label for="_name_id">Name:</label>
|
||||
<input id="_name_id" name="name"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Name,(${field_required})" code="field.simple.validation" var="validation_required"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_name_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${validation_required}', required : true}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="submit" id="roo_loanShark_submit">
|
||||
<spring:message code="button.find" var="find_button"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
|
||||
<input id="proceed" type="submit" value="${find_button}"/>
|
||||
</div>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,87 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:roo="urn:jsptagdir:/WEB-INF/tags" xmlns:spring="http://www.springframework.org/tags" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require('dijit.TitlePane');</script>
|
||||
<div id="_title_div">
|
||||
<spring:message code="label.loanshark" var="entity_label"/>
|
||||
<spring:message code="label.loansharks" var="entity_label_plural"/>
|
||||
<spring:message arguments="${entity_label_plural}" code="entity.list.all" var="title_msg"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_div', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title_msg}'}})); </script>
|
||||
<c:if test="${not empty loansharks}">
|
||||
<table width="300px">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Counter</th>
|
||||
<th>Average Rate</th>
|
||||
<th/>
|
||||
<th/>
|
||||
<th/>
|
||||
</tr>
|
||||
</thead>
|
||||
<c:forEach items="${loansharks}" var="loanShark">
|
||||
<tr>
|
||||
<td>${loanShark.id}</td>
|
||||
<td>
|
||||
<c:out value="${fn:substring(loanShark.name, 0, 15)}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${fn:substring(loanShark.counter, 0, 10)}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${fn:substring(loanShark.averageRate, 0, 10)}"/>
|
||||
</td>
|
||||
<td>
|
||||
<spring:url value="/loanshark/${loanShark.id}" var="show_form_url"/>
|
||||
<spring:url value="/static/images/show.png" var="show_image_url"/>
|
||||
<form:form action="${show_form_url}" method="GET">
|
||||
<spring:message arguments="${entity_label}" code="entity.show" var="show_label"/>
|
||||
<input alt="${show_label}" class="image" src="${show_image_url}" title="${show_label}" type="image" value="${show_label}"/>
|
||||
</form:form>
|
||||
</td>
|
||||
<td>
|
||||
<spring:url value="/loanshark/${loanShark.id}/form" var="update_form_url"/>
|
||||
<spring:url value="/static/images/update.png" var="update_image_url"/>
|
||||
<form:form action="${update_form_url}" method="GET">
|
||||
<spring:message arguments="${entity_label}" code="entity.update" var="update_label"/>
|
||||
<input alt="${update_label}" class="image" src="${update_image_url}" title="${update_label}" type="image" value="${update_label}"/>
|
||||
</form:form>
|
||||
</td>
|
||||
<td>
|
||||
<spring:url value="/loanshark/${loanShark.id}" var="delete_form_url"/>
|
||||
<spring:url value="/static/images/delete.png" var="delete_image_url"/>
|
||||
<form:form action="${delete_form_url}" method="DELETE">
|
||||
<spring:message arguments="${entity_label}" code="entity.delete" var="delete_label"/>
|
||||
<input alt="${delete_label}" class="image" src="${delete_image_url}" title="${delete_label}" type="image" value="${delete_label}"/>
|
||||
<c:if test="${not empty param.page}">
|
||||
<input name="page" type="hidden" value="${param.page}"/>
|
||||
</c:if>
|
||||
<c:if test="${not empty param.size}">
|
||||
<input name="size" type="hidden" value="${param.size}"/>
|
||||
</c:if>
|
||||
</form:form>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<tr class="footer">
|
||||
<td colspan="7">
|
||||
<span class="new">
|
||||
<spring:url value="/loanshark/form" var="create_url"/>
|
||||
<a href="${create_url}">
|
||||
<spring:url value="/static/images/add.png" var="create_img_url"/>
|
||||
<spring:message arguments="${entity_label}" code="global.menu.new" var="add_message"/>
|
||||
<img alt="${add_message}" src="${create_img_url}" title="${add_message}"/>
|
||||
</a>
|
||||
</span>
|
||||
<c:if test="${not empty maxPages}">
|
||||
<roo:pagination maxPages="${maxPages}" page="${param.page}" size="${param.size}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</c:if>
|
||||
<c:if test="${empty loansharks}">
|
||||
<spring:message arguments="${entity_label_plural}" code="entity.not.found"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require('dijit.TitlePane');</script>
|
||||
<div id="_title_div">
|
||||
<spring:message code="label.loanshark" var="entity_label"/>
|
||||
<spring:message arguments="${entity_label}" code="entity.show" var="title_msg"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_div', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title_msg}'}})); </script>
|
||||
<c:if test="${not empty loanShark}">
|
||||
<div id="roo_loanShark_name">
|
||||
<label for="_name_id">Name:</label>
|
||||
<div class="box" id="_name_id">
|
||||
<c:out value="${loanShark.name}"/>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="roo_loanShark_counter">
|
||||
<label for="_counter_id">Counter:</label>
|
||||
<div class="box" id="_counter_id">
|
||||
<c:out value="${loanShark.counter}"/>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="roo_loanShark_averageRate">
|
||||
<label for="_averageRate_id">Average Rate:</label>
|
||||
<div class="box" id="_averageRate_id">
|
||||
<c:out value="${loanShark.averageRate}"/>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
</c:if>
|
||||
<c:if test="${empty loanShark}">
|
||||
<spring:message arguments="${entity_label}" code="entity.not.found.single"/>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,53 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require('dijit.TitlePane');</script>
|
||||
<div id="_title_div">
|
||||
<spring:message code="label.loanshark" var="entity_label"/>
|
||||
<spring:message arguments="${entity_label}" code="entity.update" var="title_msg"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_div', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title_msg}'}})); </script>
|
||||
<spring:url value="/loanshark/${loanShark.id}" var="form_url"/>
|
||||
<form:form action="${form_url}" method="PUT" modelAttribute="loanShark">
|
||||
<form:errors cssClass="errors" delimiter="<p/>"/>
|
||||
<div id="roo_loanShark_name">
|
||||
<label for="_name_id">Name:</label>
|
||||
<form:input cssStyle="width:250px" id="_name_id" maxlength="30" path="name" size="0"/>
|
||||
<br/>
|
||||
<form:errors cssClass="errors" id="_name_error_id" path="name"/>
|
||||
<spring:message arguments="Name" code="field.invalid" var="field_invalid"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Name," code="field.simple.validation" var="field_validation"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_name_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${field_validation}', invalidMessage: '${field_invalid}', required : false}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="roo_loanShark_counter">
|
||||
<label for="_counter_id">Counter:</label>
|
||||
<form:input cssStyle="width:250px" id="_counter_id" maxlength="30" path="counter" size="0"/>
|
||||
<br/>
|
||||
<form:errors cssClass="errors" id="_counter_error_id" path="counter"/>
|
||||
<spring:message arguments="Counter" code="field.invalid" var="field_invalid"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Counter," code="field.simple.validation" var="field_validation"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_counter_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${field_validation}', invalidMessage: '${field_invalid}', required : false}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="roo_loanShark_averageRate">
|
||||
<label for="_averageRate_id">Average Rate:</label>
|
||||
<form:input cssStyle="width:250px" id="_averageRate_id" maxlength="30" path="averageRate" size="0"/>
|
||||
<br/>
|
||||
<form:errors cssClass="errors" id="_averageRate_error_id" path="averageRate"/>
|
||||
<spring:message code="field.invalid.number" var="field_invalid"/>
|
||||
<spring:message code="field.required" var="field_required"/>
|
||||
<spring:message argumentSeparator="," arguments="Average Rate," code="field.simple.validation" var="field_validation"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_averageRate_id', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {promptMessage: '${field_validation}', invalidMessage: '${field_invalid}', regExp: '-?[0-9]*\.[0-9]*', required : false}})); </script>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="submit" id="roo_loanShark_submit">
|
||||
<spring:message code="button.update" var="update_button"/>
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
|
||||
<input id="proceed" type="submit" value="${update_button}"/>
|
||||
</div>
|
||||
<form:hidden id="_id_id" path="id"/>
|
||||
<form:hidden id="_version_id" path="version"/>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
|
||||
<tiles-definitions>
|
||||
<definition extends="default" name="loanshark/list">
|
||||
<put-attribute name="body" value="/WEB-INF/views/loanshark/list.jspx"/>
|
||||
</definition>
|
||||
<definition extends="default" name="loanshark/show">
|
||||
<put-attribute name="body" value="/WEB-INF/views/loanshark/show.jspx"/>
|
||||
</definition>
|
||||
<definition extends="default" name="loanshark/create">
|
||||
<put-attribute name="body" value="/WEB-INF/views/loanshark/create.jspx"/>
|
||||
</definition>
|
||||
<definition extends="default" name="loanshark/update">
|
||||
<put-attribute name="body" value="/WEB-INF/views/loanshark/update.jspx"/>
|
||||
</definition>
|
||||
<definition extends="default" name="loanshark/findLoanSharksByName">
|
||||
<put-attribute name="body" value="/WEB-INF/views/loanshark/findLoanSharksByName.jspx"/>
|
||||
</definition>
|
||||
</tiles-definitions>
|
||||
@@ -0,0 +1,34 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" id="menu" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<ul id="roo_menu">
|
||||
|
||||
<li id="web_mvc_jsp_loanshark_category">
|
||||
<h2>
|
||||
<spring:message code="menu.category.web_mvc_jsp_loanshark_category.label"/>
|
||||
</h2>
|
||||
<ul>
|
||||
<li id="web_mvc_jsp_create_loanshark_menu_item">
|
||||
<spring:url value="/loanshark/form" var="web_mvc_jsp_create_loanshark_menu_item_url"/>
|
||||
<a href="${web_mvc_jsp_create_loanshark_menu_item_url}">
|
||||
<spring:message code="label.loanshark" var="label_loanshark"/>
|
||||
<spring:message arguments="${label_loanshark}" code="global.menu.new"/>
|
||||
</a>
|
||||
</li>
|
||||
<li id="web_mvc_jsp_list_loanshark_menu_item">
|
||||
<spring:url value="/loanshark?page=${empty param.page ? 1 : param.page}&amp;size=${empty param.size ? 10 : param.size}" var="web_mvc_jsp_list_loanshark_menu_item_url"/>
|
||||
<a href="${web_mvc_jsp_list_loanshark_menu_item_url}">
|
||||
<spring:message code="label.loansharks" var="label_loansharks"/>
|
||||
<spring:message arguments="${label_loansharks}" code="global.menu.list"/>
|
||||
</a>
|
||||
</li>
|
||||
<li id="finder_findloansharksbyname_menu_item">
|
||||
<spring:url value="/loanshark/find/ByName/form" var="finder_findloansharksbyname_menu_item_url"/>
|
||||
<a href="${finder_findloansharksbyname_menu_item_url}">
|
||||
<spring:message code="label.name" var="label_name"/>
|
||||
<spring:message arguments="${label_name}" code="global.menu.find"/>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1,29 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require("dijit.TitlePane")</script>
|
||||
<div id="_title">
|
||||
<spring:message var="title" code="error.resourcenotfound.title" />
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title}'}})); </script>
|
||||
<h2>${title}</h2>
|
||||
<p><spring:message code="error.resourcenotfound.problemdescription" /></p>
|
||||
<c:if test="${not empty exception}">
|
||||
<p>
|
||||
<h4><spring:message code="exception.details" /></h4>
|
||||
|
||||
<spring:message var="message" code="exception.message" />
|
||||
<div id="_exception">
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_exception', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${message}', open:false}})); </script>
|
||||
<c:out value="${exception.localizedMessage}" />
|
||||
</div>
|
||||
|
||||
<spring:message var="stacktrace" code="exception.stacktrace" />
|
||||
<div id="_stacktrace">
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_stacktrace', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${stacktrace}', open:false}})); </script>
|
||||
<c:forEach items="${exception.stackTrace}" var="trace">
|
||||
<c:out value="${trace}"/><br/>
|
||||
</c:forEach>
|
||||
</div>
|
||||
</p>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,29 @@
|
||||
<div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
|
||||
<jsp:output omit-xml-declaration="yes"/>
|
||||
<script type="text/javascript">dojo.require("dijit.TitlePane")</script>
|
||||
<div id="_title">
|
||||
<spring:message var="title" code="error.uncaughtexception.title" />
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${title}'}})); </script>
|
||||
<h2>${title}</h2>
|
||||
<p><spring:message code="error.uncaughtexception.problemdescription" /></p>
|
||||
<c:if test="${not empty exception}">
|
||||
<p>
|
||||
<h4><spring:message code="exception.details" /></h4>
|
||||
|
||||
<spring:message var="message" code="exception.message" />
|
||||
<div id="_exception">
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_exception', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${message}', open:false}})); </script>
|
||||
<c:out value="${exception.localizedMessage}" />
|
||||
</div>
|
||||
|
||||
<spring:message var="stacktrace" code="exception.stacktrace" />
|
||||
<div id="_stacktrace">
|
||||
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_stacktrace', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${stacktrace}', open:false}})); </script>
|
||||
<c:forEach items="${exception.stackTrace}" var="trace">
|
||||
<c:out value="${trace}"/><br/>
|
||||
</c:forEach>
|
||||
</div>
|
||||
</p>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE tiles-definitions PUBLIC
|
||||
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"
|
||||
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
|
||||
|
||||
<tiles-definitions>
|
||||
|
||||
<definition name="index" extends="default">
|
||||
<put-attribute name="body" value="/WEB-INF/views/index.jspx" />
|
||||
</definition>
|
||||
|
||||
<definition name="dataAccessFailure" extends="public">
|
||||
<put-attribute name="body" value="/WEB-INF/views/dataAccessFailure.jspx" />
|
||||
</definition>
|
||||
|
||||
<definition name="resourceNotFound" extends="public">
|
||||
<put-attribute name="body" value="/WEB-INF/views/resourceNotFound.jspx" />
|
||||
</definition>
|
||||
|
||||
<definition name="uncaughtException" extends="public" >
|
||||
<put-attribute name="body" value="/WEB-INF/views/uncaughtException.jspx" />
|
||||
</definition>
|
||||
|
||||
</tiles-definitions>
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
<display-name>loanshark</display-name>
|
||||
<description>Roo generated loanshark application</description>
|
||||
|
||||
<context-param>
|
||||
<param-name>log4jConfigLocation</param-name>
|
||||
<param-value>classpath:META-INF/spring/log4j.properties</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>defaultHtmlEscape</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<param-name>webAppRootKey</param-name>
|
||||
<param-value>loanshark.root</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>classpath*:META-INF/spring/applicationContext*.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<filter>
|
||||
<filter-name>etagFilter</filter-name>
|
||||
<filter-class>org.springframework.web.filter.ShallowEtagHeaderFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<filter-name>CharacterEncodingFilter</filter-name>
|
||||
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>encoding</param-name>
|
||||
<param-value>UTF-8</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>forceEncoding</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<filter-name>httpMethodFilter</filter-name>
|
||||
<filter-class>org.springframework.web.filter.HiddenHttpMethodFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<filter-name>UrlRewriteFilter</filter-name>
|
||||
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<!-- See ROO-579: this filter will cause login page redisplay with Spring Security, so is disabled by default
|
||||
<filter-mapping>
|
||||
<filter-name>etagFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
--><filter>
|
||||
<filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
|
||||
<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>CharacterEncodingFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>httpMethodFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>UrlRewriteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
||||
</listener>
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>loanshark</servlet-name>
|
||||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>/WEB-INF/spring/webmvc-config.xml</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
Serves static resource content from .jar files such as spring-js.jar
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>Resource Servlet</servlet-name>
|
||||
<servlet-class>org.springframework.js.resource.ResourceServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>loanshark</servlet-name>
|
||||
<url-pattern>/app/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
Map all /resources requests to the Resource Servlet for handling
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>Resource Servlet</servlet-name>
|
||||
<url-pattern>/resources/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>10</session-timeout>
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jspx</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<error-page>
|
||||
<exception-type>java.lang.Exception</exception-type>
|
||||
<location>/app/uncaughtException</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<error-code>404</error-code>
|
||||
<location>/app/resourceNotFound</location>
|
||||
</error-page>
|
||||
</web-app>
|
||||
|
After Width: | Height: | Size: 739 B |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 545 B |
|
After Width: | Height: | Size: 655 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 599 B |
|
After Width: | Height: | Size: 420 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 453 B |
|
After Width: | Height: | Size: 522 B |
|
After Width: | Height: | Size: 524 B |
|
After Width: | Height: | Size: 395 B |
|
After Width: | Height: | Size: 389 B |
|
After Width: | Height: | Size: 879 B |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 542 B |
|
After Width: | Height: | Size: 807 B |
@@ -0,0 +1,348 @@
|
||||
/* main elements */
|
||||
|
||||
body,div,td {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
background-image: url(../images/banner-graphic.png);
|
||||
background-position: top center;
|
||||
background-repeat: no-repeat;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
width:800px;
|
||||
min-width: 800px;
|
||||
max-width: 800px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
/* fix max-width incompatibility in IE6 */
|
||||
width:expression(document.body.clientWidth > 800? "800px": "auto" );
|
||||
|
||||
overflow:hidden;
|
||||
display:block;
|
||||
margin-top: 90px;
|
||||
}
|
||||
|
||||
/* header and footer elements */
|
||||
|
||||
#main {
|
||||
overflow:hidden;
|
||||
display:box;
|
||||
}
|
||||
|
||||
#menu {
|
||||
background: #eee;
|
||||
position:relative;
|
||||
float:right;
|
||||
left:0px;
|
||||
width:220px;
|
||||
margin-left:15px;
|
||||
}
|
||||
|
||||
#menu ul{
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#menu ul li{
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
|
||||
#menu a, #menu h2 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 2px 6px;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
|
||||
#menu h2 {
|
||||
color: #fff;
|
||||
background: #648C1D;
|
||||
text-transform: uppercase;
|
||||
font-weight:bold;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
color: #666666;
|
||||
background: #efefef;
|
||||
text-decoration: none;
|
||||
padding: 2px 12px;
|
||||
}
|
||||
|
||||
#menu a:hover {
|
||||
color: #648C1D;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background:#fff;
|
||||
border:none;
|
||||
margin-top:15px;
|
||||
border-top:1px solid #999999;
|
||||
}
|
||||
|
||||
#footer .new {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#footer a:link {color: #7db223;}
|
||||
|
||||
label {
|
||||
width:100px;
|
||||
float:left;
|
||||
margin-left: 5px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
input {
|
||||
height:20px;
|
||||
}
|
||||
|
||||
input, textarea, select {
|
||||
border:1px solid #B3B3B3;
|
||||
}
|
||||
|
||||
input.image {
|
||||
border: none;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
submit {
|
||||
height:25px;
|
||||
}
|
||||
|
||||
div {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div .box {
|
||||
display:block;
|
||||
margin-left:105px;
|
||||
}
|
||||
|
||||
/* menu elements*/
|
||||
|
||||
a.menu, a.menu:link, a.menu:visited {display:block; width:150px; height:25px;}
|
||||
|
||||
/* text styles */
|
||||
|
||||
h1,h2,h3 {
|
||||
font-family: Helvetica, sans-serif;
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 20px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 15px;
|
||||
line-height: 21px;
|
||||
color:#555;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.errors {
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin-left: 105px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0 none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
tr:nth-child(odd) {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #EFEFEF;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #456314;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc url(../images/bullet-arrow.png);
|
||||
}
|
||||
|
||||
li {
|
||||
padding-top: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
li ul {
|
||||
list-style: square url(../images/sub-bullet.gif);
|
||||
}
|
||||
|
||||
li ul li ul {
|
||||
list-style: circle none;
|
||||
}
|
||||
|
||||
ul li {
|
||||
margin:0 0 0.25em 0;
|
||||
padding:0;
|
||||
}
|
||||
/* table elements */
|
||||
|
||||
table {
|
||||
background: #EEEEEE;
|
||||
margin: 2px 0 0 0;
|
||||
border: 1px solid #BBBBBB;
|
||||
border-collapse: collapse;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
table table {
|
||||
margin: -5px 0;
|
||||
border: 0px solid #e0e7d3;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table td,table th {
|
||||
padding: 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
table td form {
|
||||
text-align:center;
|
||||
vertical-align: middle;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
table th {
|
||||
font-size: 0.75em;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
color: #FFF;
|
||||
background: #999;
|
||||
}
|
||||
|
||||
table thead {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
background-color: #BBBBBB;
|
||||
}
|
||||
|
||||
table a:link {color: #303030;}
|
||||
|
||||
caption {
|
||||
caption-side: top;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
color: #848f73;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
background: #e0e7d3;
|
||||
padding: 8px;
|
||||
padding-bottom: 22px;
|
||||
border: none;
|
||||
width: 560px;
|
||||
}
|
||||
|
||||
fieldset label {
|
||||
width: 70px;
|
||||
float: left;
|
||||
margin-top: 1.7em;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
fieldset textfield {
|
||||
margin: 3px;
|
||||
height: 20px;
|
||||
background: #e0e7d3;
|
||||
}
|
||||
|
||||
fieldset textarea {
|
||||
margin: 3px;
|
||||
height: 165px;
|
||||
background: #e0e7d3;
|
||||
}
|
||||
|
||||
fieldset input {
|
||||
margin: 3px;
|
||||
height: 20px;
|
||||
background: #e0e7d3;
|
||||
}
|
||||
|
||||
fieldset table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
fieldset th {
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.table-buttons {
|
||||
background-color:#fff;
|
||||
border:none;
|
||||
}
|
||||
|
||||
.table-buttons td {
|
||||
border:none;
|
||||
}
|
||||
|
||||
.submit input {
|
||||
border: 1px solid #BBBBBB;
|
||||
color:#777777;
|
||||
padding:2px 7px;
|
||||
font-size:11px;
|
||||
text-transform:uppercase;
|
||||
font-weight:bold;
|
||||
height:24px;
|
||||
}
|
||||
|
||||
.updated {
|
||||
background:#ecf1e5;
|
||||
font-size:11px;
|
||||
margin-left:2px;
|
||||
border:4px solid #ecf1e5;
|
||||
}
|
||||
|
||||
.updated td {
|
||||
padding:2px 8px;
|
||||
font-size:11px;
|
||||
color:#888888;
|
||||
}
|
||||
@@ -0,0 +1,348 @@
|
||||
/* main elements */
|
||||
|
||||
body,div,td {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
background-image: url(../images/banner-graphic.png);
|
||||
background-position: top center;
|
||||
background-repeat: no-repeat;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
width:800px;
|
||||
min-width: 800px;
|
||||
max-width: 800px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
/* fix max-width incompatibility in IE6 */
|
||||
width:expression(document.body.clientWidth > 800? "800px": "auto" );
|
||||
|
||||
overflow:hidden;
|
||||
display:block;
|
||||
margin-top: 90px;
|
||||
}
|
||||
|
||||
/* header and footer elements */
|
||||
|
||||
#main {
|
||||
overflow:hidden;
|
||||
display:box;
|
||||
}
|
||||
|
||||
#menu {
|
||||
background: #eee;
|
||||
position:relative;
|
||||
float:left;
|
||||
left:0px;
|
||||
width:220px;
|
||||
margin-right:15px;
|
||||
}
|
||||
|
||||
#menu ul{
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#menu ul li{
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
|
||||
#menu a, #menu h2 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 2px 6px;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
|
||||
#menu h2 {
|
||||
color: #fff;
|
||||
background: #648C1D;
|
||||
text-transform: uppercase;
|
||||
font-weight:bold;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
color: #666666;
|
||||
background: #efefef;
|
||||
text-decoration: none;
|
||||
padding: 2px 12px;
|
||||
}
|
||||
|
||||
#menu a:hover {
|
||||
color: #648C1D;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background:#fff;
|
||||
border:none;
|
||||
margin-top:15px;
|
||||
border-top:1px solid #999999;
|
||||
}
|
||||
|
||||
#footer .new {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#footer a:link {color: #7db223;}
|
||||
|
||||
label {
|
||||
width:100px;
|
||||
float:left;
|
||||
margin-left: 5px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
input {
|
||||
height:20px;
|
||||
}
|
||||
|
||||
input, textarea, select {
|
||||
border:1px solid #B3B3B3;
|
||||
}
|
||||
|
||||
input.image {
|
||||
border: none;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
submit {
|
||||
height:25px;
|
||||
}
|
||||
|
||||
div {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div .box {
|
||||
display:block;
|
||||
margin-left:105px;
|
||||
}
|
||||
|
||||
/* menu elements*/
|
||||
|
||||
a.menu, a.menu:link, a.menu:visited {display:block; width:150px; height:25px;}
|
||||
|
||||
/* text styles */
|
||||
|
||||
h1,h2,h3 {
|
||||
font-family: Helvetica, sans-serif;
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 20px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 15px;
|
||||
line-height: 21px;
|
||||
color:#555;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.errors {
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin-left: 105px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0 none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
tr:nth-child(odd) {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #EFEFEF;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #456314;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #7db223;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc url(../images/bullet-arrow.png);
|
||||
}
|
||||
|
||||
li {
|
||||
padding-top: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
li ul {
|
||||
list-style: square url(../images/sub-bullet.gif);
|
||||
}
|
||||
|
||||
li ul li ul {
|
||||
list-style: circle none;
|
||||
}
|
||||
|
||||
ul li {
|
||||
margin:0 0 0.25em 0;
|
||||
padding:0;
|
||||
}
|
||||
/* table elements */
|
||||
|
||||
table {
|
||||
background: #EEEEEE;
|
||||
margin: 2px 0 0 0;
|
||||
border: 1px solid #BBBBBB;
|
||||
border-collapse: collapse;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
table table {
|
||||
margin: -5px 0;
|
||||
border: 0px solid #e0e7d3;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table td,table th {
|
||||
padding: 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
table td form {
|
||||
text-align:center;
|
||||
vertical-align: middle;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
table th {
|
||||
font-size: 0.75em;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
color: #FFF;
|
||||
background: #999;
|
||||
}
|
||||
|
||||
table thead {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
background-color: #BBBBBB;
|
||||
}
|
||||
|
||||
table a:link {color: #303030;}
|
||||
|
||||
caption {
|
||||
caption-side: top;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
color: #848f73;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
background: #e0e7d3;
|
||||
padding: 8px;
|
||||
padding-bottom: 22px;
|
||||
border: none;
|
||||
width: 560px;
|
||||
}
|
||||
|
||||
fieldset label {
|
||||
width: 70px;
|
||||
float: left;
|
||||
margin-top: 1.7em;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
fieldset textfield {
|
||||
margin: 3px;
|
||||
height: 20px;
|
||||
background: #e0e7d3;
|
||||
}
|
||||
|
||||
fieldset textarea {
|
||||
margin: 3px;
|
||||
height: 165px;
|
||||
background: #e0e7d3;
|
||||
}
|
||||
|
||||
fieldset input {
|
||||
margin: 3px;
|
||||
height: 20px;
|
||||
background: #e0e7d3;
|
||||
}
|
||||
|
||||
fieldset table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
fieldset th {
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.table-buttons {
|
||||
background-color:#fff;
|
||||
border:none;
|
||||
}
|
||||
|
||||
.table-buttons td {
|
||||
border:none;
|
||||
}
|
||||
|
||||
.submit input {
|
||||
border: 1px solid #BBBBBB;
|
||||
color:#777777;
|
||||
padding:2px 7px;
|
||||
font-size:11px;
|
||||
text-transform:uppercase;
|
||||
font-weight:bold;
|
||||
height:24px;
|
||||
}
|
||||
|
||||
.updated {
|
||||
background:#ecf1e5;
|
||||
font-size:11px;
|
||||
margin-left:2px;
|
||||
border:4px solid #ecf1e5;
|
||||
}
|
||||
|
||||
.updated td {
|
||||
padding:2px 8px;
|
||||
font-size:11px;
|
||||
color:#888888;
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2002-2010 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.springframework.integration.loanbroker.loanshark.biz;
|
||||
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.springframework.integration.loanbroker.loanshark.domain.LoanShark;
|
||||
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
*
|
||||
*/
|
||||
@ContextConfiguration(locations="classpath:META-INF/spring/applicationContext.xml")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
public class TestAccumulator {
|
||||
|
||||
@Autowired
|
||||
Accumulator accumulator;
|
||||
|
||||
@Test
|
||||
@Transactional
|
||||
public void test() {
|
||||
accumulator.accumulate(new SharkQuote("fred", 6.0d));
|
||||
accumulator.accumulate(new SharkQuote("fred", 6.2d));
|
||||
LoanShark shark = (LoanShark) LoanShark.findLoanSharksByName("fred").getSingleResult();
|
||||
assertEquals(new Long(2), shark.getCounter());
|
||||
assertEquals(new Double(6.1), shark.getAverageRate());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
#Updated at Tue Mar 23 17:20:25 PDT 2010
|
||||
#Tue Mar 23 17:20:25 PDT 2010
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.rootLogger=DEBUG, stdout, R
|
||||
log4j.appender.R.File=application.log
|
||||
log4j.appender.R.MaxFileSize=100KB
|
||||
log4j.appender.R.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.R.MaxBackupIndex=1
|
||||
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.R=org.apache.log4j.RollingFileAppender
|
||||
12
spring-integration-samples/loanshark/udps.groovy
Normal file
@@ -0,0 +1,12 @@
|
||||
//Groovy Script to catch multicast packets.
|
||||
socket = new MulticastSocket(11111)
|
||||
mcast = InetAddress.getByName("225.6.7.8")
|
||||
socket.joinGroup(mcast)
|
||||
buffer = (' ' * 1024) as byte[]
|
||||
while(true) {
|
||||
incoming = new DatagramPacket(buffer, buffer.length)
|
||||
socket.receive(incoming)
|
||||
s = new String(incoming.data, 0, incoming.length)
|
||||
println ("** Shark **" + s)
|
||||
}
|
||||
|
||||
16
spring-integration-samples/loanshark/udps.pl
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/perl -w
|
||||
#Perl Script to catch multicast packets.
|
||||
use strict;
|
||||
use IO::Socket::Multicast;
|
||||
|
||||
my $socket = IO::Socket::Multicast->new(LocalPort=>11111, ReuseAddr=>1)
|
||||
or die "Can't start UDP server: $@";
|
||||
|
||||
$socket->mcast_add('225.6.7.8');
|
||||
|
||||
my ($datagram,$flags);
|
||||
while ($socket->recv($datagram,1024,$flags)) {
|
||||
print "**Shark** $datagram\n";
|
||||
}
|
||||
|
||||
$socket->close();
|
||||