Created
November 16, 2012 16:34
-
-
Save joeRinehart/4088764 to your computer and use it in GitHub Desktop.
ReallyNoisyEventListener.groovy
This file contains hidden or 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
class ReallyNoisyEventListener implements ApplicationListener { | |
void onApplicationEvent( ApplicationEvent e ) { | |
println e | |
} | |
} |
This file contains hidden or 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
reallyNoisyEventListener(ReallyNoisyEventListener) { bean -> | |
bean.autowire = "byName" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment