Skip to content

Instantly share code, notes, and snippets.

@jayanath
Created July 30, 2012 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayanath/3209967 to your computer and use it in GitHub Desktop.
Save jayanath/3209967 to your computer and use it in GitHub Desktop.
Main with Annotations
AnnotationConfigApplicationContext annCtx = new AnnotationConfigApplicationContext();
annCtx.register(AppConfig.class);
annCtx.refresh();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment