public abstract class ActuatorProvider extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
Modifier and Type | Field and Description |
---|---|
protected org.springframework.boot.web.server.WebServer |
actuatorWebServer
The Actuator web server.
|
protected org.springframework.boot.web.server.WebServer |
applicationWebServer
The Application web server.
|
protected org.springframework.context.ApplicationContext |
managementApplicationContext
The Management application context.
|
protected org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties |
managementServerProperties
The Management server properties.
|
protected org.springframework.boot.autoconfigure.web.ServerProperties |
serverProperties
The Server properties.
|
protected SpringDocConfigProperties |
springDocConfigProperties
The Spring doc config properties.
|
protected org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties |
webEndpointProperties
The Web endpoint properties.
|
Constructor and Description |
---|
ActuatorProvider(Optional<org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties> managementServerProperties,
Optional<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> webEndpointProperties,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
SpringDocConfigProperties springDocConfigProperties)
Instantiates a new Actuator provider.
|
Modifier and Type | Method and Description |
---|---|
String |
getActuatorPath()
Gets actuator path.
|
int |
getActuatorPort()
Gets actuator port.
|
int |
getApplicationPort()
Gets application port.
|
String |
getBasePath()
Gets base path.
|
String |
getContextPath()
Gets context path.
|
abstract Map |
getMethods()
Gets methods.
|
static io.swagger.v3.oas.models.tags.Tag |
getTag()
Gets tag.
|
boolean |
isRestController(String operationPath,
Class<?> controllerClass)
Is rest controller boolean.
|
boolean |
isUseManagementPort()
Is use management port boolean.
|
void |
onApplicationEvent(org.springframework.boot.web.context.WebServerInitializedEvent event) |
protected org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties managementServerProperties
protected org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties
protected org.springframework.boot.autoconfigure.web.ServerProperties serverProperties
protected SpringDocConfigProperties springDocConfigProperties
protected org.springframework.boot.web.server.WebServer actuatorWebServer
protected org.springframework.boot.web.server.WebServer applicationWebServer
protected org.springframework.context.ApplicationContext managementApplicationContext
public ActuatorProvider(Optional<org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties> managementServerProperties, Optional<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> webEndpointProperties, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringDocConfigProperties springDocConfigProperties)
managementServerProperties
- the management server propertieswebEndpointProperties
- the web endpoint propertiesserverProperties
- the server propertiesspringDocConfigProperties
- the spring doc config propertiespublic void onApplicationEvent(org.springframework.boot.web.context.WebServerInitializedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
public static io.swagger.v3.oas.models.tags.Tag getTag()
public boolean isRestController(String operationPath, Class<?> controllerClass)
operationPath
- the operation pathcontrollerClass
- the controller classpublic boolean isUseManagementPort()
public String getBasePath()
public String getContextPath()
public String getActuatorPath()
public int getApplicationPort()
public int getActuatorPort()
public abstract Map getMethods()
Copyright © 2020. All rights reserved.