
com.alibaba.arthas.tunnel.server.endpoint.ArthasEndPointAutoconfiguration Maven / Gradle / Ivy
package com.alibaba.arthas.tunnel.server.endpoint;
import org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnAvailableEndpoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.alibaba.arthas.tunnel.server.app.configuration.ArthasProperties;
@EnableConfigurationProperties(ArthasProperties.class)
@Configuration
public class ArthasEndPointAutoconfiguration {
@ConditionalOnMissingBean
@Bean
@ConditionalOnAvailableEndpoint
public ArthasEndpoint arthasEndPoint() {
return new ArthasEndpoint();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy