Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BeanFactoryPostProcessorExample {
- public static void main (String[] args) {
- AnnotationConfigApplicationContext context =
- new AnnotationConfigApplicationContext(MyConfig.class);
- MyBean bean = context.getBean(MyBean.class);
- bean.doSomething();
- }
- }
Add Comment
Please, Sign In to add comment