Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. package concert;
  2.  
  3. import org.springframework.context.annotation.Bean;
  4. import org.springframework.context.annotation.ComponentScan;
  5. import org.springframework.context.annotation.Configuration;
  6. import org.springframework.context.annotation.EnableAspectJAutoProxy;
  7.  
  8. @Configuration
  9. @EnableAspectJAutoProxy
  10. @ComponentScan
  11. public class ConcertConfig {
  12. @Bean
  13. public Audience audience() {
  14. return new Audience();
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement