Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package concert;
- import org.springframework.context.annotation.Bean;
- import org.springframework.context.annotation.ComponentScan;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.context.annotation.EnableAspectJAutoProxy;
- @Configuration
- @EnableAspectJAutoProxy
- @ComponentScan
- public class ConcertConfig {
- @Bean
- public Audience audience() {
- return new Audience();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement