blob: bc9cb7ce9b894b456f13c078e8c70a69859048c4 [file] [log] [blame]
package example
import grails.gorm.services.Service
import grails.gorm.transactions.Transactional
@Service(Student)
abstract class StudentService {
TestService testServiceBean
abstract Student get(Serializable id)
@Transactional
List<Book> booksAllocated(Serializable studentId) {
assert testServiceBean != null
}
}