@Configuration @EnableAutoConfiguration @EnableAdminServer @EnableDiscoveryClient @EnableConfigurationProperties(value=cn.home1.oss.boot.autoconfigure.AppProperties.class) @SpringBootApplication public class AdminApplication extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Constructor and Description |
---|
AdminApplication() |
Modifier and Type | Method and Description |
---|---|
BasicAuthFilter |
basicAuthFilter() |
ClientKeyStore |
clientKeyStoreListener() |
cn.home1.oss.lib.common.crypto.EncodeDecryptor |
decryptor() |
static void |
main(String[] args) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
PostFilterForClientInfo |
postFilterForClientInfo() |
org.springframework.web.client.RestTemplate |
restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder) |
de.codecentric.boot.admin.registry.StatusUpdater |
statusUpdater() |
public static void main(String[] args)
@Bean @ConditionalOnMissingBean public ClientKeyStore clientKeyStoreListener()
@Bean public BasicAuthFilter basicAuthFilter()
@Bean public PostFilterForClientInfo postFilterForClientInfo()
@Bean public org.springframework.web.client.RestTemplate restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)
@Bean public cn.home1.oss.lib.common.crypto.EncodeDecryptor decryptor()
@Primary @Bean @ConditionalOnMissingBean public de.codecentric.boot.admin.registry.StatusUpdater statusUpdater()
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Copyright © 2017. All rights reserved.