@Configuration
@ConditionalOnProperty(name="sentry.enable",
havingValue="true")
public class SentryConfiguration
extends Object
| Constructor and Description |
|---|
SentryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
初始化
|
org.springframework.web.servlet.HandlerExceptionResolver |
sentryExceptionResolver() |
org.springframework.boot.web.servlet.ServletContextInitializer |
sentryServletContextInitializer() |
@PostConstruct public void init()
@Bean public org.springframework.boot.web.servlet.ServletContextInitializer sentryServletContextInitializer()
@Bean public org.springframework.web.servlet.HandlerExceptionResolver sentryExceptionResolver()
Copyright © 2021 Clouds Studio. All rights reserved.