Author: aparfonov
Date: 2010-08-01 11:20:33 -0400 (Sun, 01 Aug 2010)
New Revision: 2848
Added:
jcr/branches/1.12.x/exo.jcr.component.ext/src/test/resources/TestDependency.groovy
Log:
EXOJCR-881
Added: jcr/branches/1.12.x/exo.jcr.component.ext/src/test/resources/TestDependency.groovy
===================================================================
--- jcr/branches/1.12.x/exo.jcr.component.ext/src/test/resources/TestDependency.groovy
(rev 0)
+++
jcr/branches/1.12.x/exo.jcr.component.ext/src/test/resources/TestDependency.groovy 2010-08-01
15:20:33 UTC (rev 2848)
@@ -0,0 +1,14 @@
+import javax.ws.rs.GET
+import javax.ws.rs.Path
+
+import dependencies.Dep1
+
+@Path("groovy-test-dependency")
+public class TestDependency {
+
+ @GET
+ def method() {
+ return new Dep1().getName()
+ }
+
+}
\ No newline at end of file
Show replies by date