samples/componentinjection/anagram-modular/src-app-spring-scan/org/apidesign/anagram/app/springscan/StaticWordLibraryAnnotated.java
changeset 230 3282ef5328a8
child 237 a84441ff1f73
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/samples/componentinjection/anagram-modular/src-app-spring-scan/org/apidesign/anagram/app/springscan/StaticWordLibraryAnnotated.java	Sat Jun 14 10:07:21 2008 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +package org.apidesign.anagram.app.springscan;
     1.5 +
     1.6 +import org.apidesign.anagram.wordstatic.StaticWordLibrary;
     1.7 +import org.springframework.stereotype.Service;
     1.8 +
     1.9 +/* This class shall be in its own module, not here, but because of the need
    1.10 + * to see the @Service annotation, I've put it here. The right solution would
    1.11 + * be to add dependency of the module providing super class on spring and
    1.12 + * use the annotation directly there.
    1.13 + */
    1.14 +
    1.15 +
    1.16 +@Service
    1.17 +public class StaticWordLibraryAnnotated extends StaticWordLibrary {
    1.18 +}