groovy spring annotation

Hmmm.

Groovy supports well spring's annotations.
Spring's dynamic language tags are also handy.

But I wish there was some dynamic language annotation!

As in eg, I have a Service written in Groovy such as:

@Service
class PersonService {

@Autowired
PersonRepository

blah blah ...

}

wouldn't be nice if I could:

@Service
@DynamicScript("Groovy")
class PersonService {

@Autowired
PersonRepository

blah blah ...

}

thus enabling it to be a refreshable bean without xml!
Creative Commons License

Unless otherwise specified, all content is licensed under Creative Commons by Attribution 3.0 (CC-BY).

Externally linked images and content are not included and are licensed and copyrighted separately.