Grails-Plugin-Consortium / grails-jesque

1 stars 5 forks source link

allow listeners to implement GrailsApplicationAware #26

Closed bp-FLN closed 6 years ago

bp-FLN commented 6 years ago

If a custom worker listener implements the GrailsApplicationAware interface, we pass the grailsApplication to it. This allows the use of beans (e.g. services) in worker listeners.