@ConditionalOnProperty(name="spring.arthas.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=ArthasProperties.class)
public class ArthasConfiguration
extends Object
| Constructor and Description |
|---|
ArthasConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ArthasAgent |
arthasAgent(Map<String,String> arthasConfigMap,
ArthasProperties arthasProperties) |
HashMap<String,String> |
arthasConfigMap() |
@ConfigurationProperties(prefix="arthas") @ConditionalOnMissingBean @Bean public HashMap<String,String> arthasConfigMap()
@ConditionalOnMissingBean @Bean public ArthasAgent arthasAgent(@Autowired Map<String,String> arthasConfigMap, @Autowired ArthasProperties arthasProperties) throws Throwable
ThrowableCopyright © 2021. All rights reserved.