org.zodiac.autoconfigure.cluster.ServletAppClusterAutoConfiguration Maven / Gradle / Ivy
package org.zodiac.autoconfigure.cluster;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
import org.springframework.context.annotation.Bean;
import org.zodiac.core.cluster.servlet.ServletAppClusterCustomizer;
@SpringBootConfiguration
@ConditionalOnWebApplication(type = Type.SERVLET)
public class ServletAppClusterAutoConfiguration {
@Bean
protected ServletAppClusterCustomizer servletAppClusterCustomizer() {
return new ServletAppClusterCustomizer();
}
}