Created
January 18, 2012 14:05
-
-
Save keesun/1633142 to your computer and use it in GitHub Desktop.
Spring 3.1's @import
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
| @Configuration | |
| @Import(HelloConfig.class) | |
| public class AppConfig { | |
| @Override | |
| public Hello hello() { | |
| Hello h = super.hello(); | |
| h.setName("Keesun"); | |
| return h; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment