com.codingapi.springboot.framework.handler.SpringHandlerConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springboot-starter Show documentation
Show all versions of springboot-starter Show documentation
springboot-starter project for Spring Boot
package com.codingapi.springboot.framework.handler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.List;
@Configuration
public class SpringHandlerConfiguration {
@Bean
public SpringEventHandler springEventHandler(@Autowired(required = false) List handlers) {
return new SpringEventHandler(handlers);
}
}