Guest User

Untitled

a guest
Jun 13th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public class BeanFactoryPostProcessorExample {
  2.  
  3. public static void main (String[] args) {
  4. AnnotationConfigApplicationContext context =
  5. new AnnotationConfigApplicationContext(MyConfig.class);
  6. MyBean bean = context.getBean(MyBean.class);
  7. bean.doSomething();
  8. }
  9. }
Add Comment
Please, Sign In to add comment