Class CloudFoundryWebEndpointDiscoverer
java.lang.Object
org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<ExposableWebEndpoint, WebOperation>
org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
org.springframework.boot.cloudfoundry.autoconfigure.actuate.endpoint.CloudFoundryWebEndpointDiscoverer
- All Implemented Interfaces:
EndpointsSupplier<ExposableWebEndpoint>, WebEndpointsSupplier
@ImportRuntimeHints(org.springframework.boot.cloudfoundry.autoconfigure.actuate.endpoint.CloudFoundryWebEndpointDiscoverer.CloudFoundryWebEndpointDiscovererRuntimeHints.class)
public class CloudFoundryWebEndpointDiscoverer
extends WebEndpointDiscoverer
WebEndpointDiscoverer for Cloud Foundry that uses Cloud Foundry specific
extensions for the HealthEndpoint.- Since:
- 4.0.0
- Author:
- Madhura Bhave
-
Nested Class Summary
Nested classes/interfaces inherited from class EndpointDiscoverer
EndpointDiscoverer.OperationKey -
Constructor Summary
ConstructorsConstructorDescriptionCloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, @Nullable List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> endpointFilters, Collection<OperationFilter<WebOperation>> operationFilters) Create a newWebEndpointDiscovererinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisExtensionTypeExposed(Class<?> extensionBeanType) Determine if an extension bean should be exposed.Methods inherited from class WebEndpointDiscoverer
createEndpoint, createOperation, createOperationKeyMethods inherited from class EndpointDiscoverer
getEndpoints, getEndpointType, isEndpointTypeExposed, isInvocableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EndpointsSupplier
getEndpoints
-
Constructor Details
-
CloudFoundryWebEndpointDiscoverer
public CloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, @Nullable List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> endpointFilters, Collection<OperationFilter<WebOperation>> operationFilters) Create a newWebEndpointDiscovererinstance.- Parameters:
applicationContext- the source application contextparameterValueMapper- the parameter value mapperendpointMediaTypes- the endpoint media typesendpointPathMappers- the endpoint path mappersinvokerAdvisors- invoker advisors to applyendpointFilters- endpoint filters to applyoperationFilters- operation filters to apply
-
-
Method Details
-
isExtensionTypeExposed
Description copied from class:EndpointDiscovererDetermine if an extension bean should be exposed. Subclasses can override this method to provide additional logic.- Overrides:
isExtensionTypeExposedin classEndpointDiscoverer<ExposableWebEndpoint, WebOperation>- Parameters:
extensionBeanType- the extension bean type- Returns:
trueif the extension is exposed
-