author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 14 Jun 2008 10:08:18 +0200 | |
changeset 246 | 128db998ee1c |
parent 245 | ce3b323add40 |
permissions | -rw-r--r-- |
jtulach@230 | 1 |
package org.apidesign.anagram.app.springscan; |
jtulach@230 | 2 |
|
jtulach@230 | 3 |
import org.apidesign.anagram.scramblersimple.SimpleScrambler; |
jtulach@230 | 4 |
import org.springframework.stereotype.Service; |
jtulach@230 | 5 |
|
jtulach@230 | 6 |
/* This class shall be in its own module, not here, but because of the need |
jtulach@230 | 7 |
* to see the @Service annotation, I've put it here. The right solution would |
jtulach@230 | 8 |
* be to add dependency of the module providing super class on spring and |
jtulach@230 | 9 |
* use the annotation directly there. |
jtulach@230 | 10 |
*/ |
jtulach@230 | 11 |
|
jtulach@246 | 12 |
// BEGIN: anagram.spring.autowire.Scrambler |
jtulach@230 | 13 |
@Service |
jtulach@230 | 14 |
public class SimpleScramblerAnnotated extends SimpleScrambler { |
jtulach@246 | 15 |
public SimpleScramblerAnnotated() { |
jtulach@246 | 16 |
} |
jtulach@230 | 17 |
} |
jtulach@246 | 18 |
// END: anagram.spring.autowire.Scrambler |