Created
July 19, 2012 12:20
-
-
Save pledbrook/3143470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package todosample | |
import grails.events.Listener | |
class DebugService { | |
@Listener | |
def packageWarStart() { | |
println "[DebugService] Packaging started" | |
} | |
@Listener | |
def packageWarStatus(String msg) { | |
println "[DebugService] Packaging status: ${msg}" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import todosample.Todo | |
events = { | |
'afterInsert' browser:true, filter:Todo | |
'afterDelete' browser:true, filter:Todo | |
'afterUpdate' browser:true, filter:Todo | |
deployStart browser: true | |
deployEnd browser: true | |
packageWarStart browser: true | |
packageWarStatus browser: true | |
packageWarEnd browser: true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment