|
|
|
@ -22,7 +22,6 @@ import cn.hippo4j.common.config.ApplicationContextHolder;
|
|
|
|
|
import cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler;
|
|
|
|
|
import cn.hippo4j.core.toolkit.inet.InetUtils;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@ -34,7 +33,8 @@ import org.springframework.core.env.ConfigurableEnvironment;
|
|
|
|
|
*/
|
|
|
|
|
@Configuration
|
|
|
|
|
@Import({WebThreadPoolHandlerConfiguration.EmbeddedTomcat.class,
|
|
|
|
|
WebThreadPoolHandlerConfiguration.EmbeddedJetty.class})
|
|
|
|
|
WebThreadPoolHandlerConfiguration.EmbeddedJetty.class,
|
|
|
|
|
WebThreadPoolHandlerConfiguration.EmbeddedUndertow.class})
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
public class WebAdapterAutoConfiguration {
|
|
|
|
|
|
|
|
|
|