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.actuate.autoconfigure.cloudfoundry.CloudFoundryWebEndpointDiscoverer
- All Implemented Interfaces:
EndpointsSupplier<ExposableWebEndpoint>,WebEndpointsSupplier
@ImportRuntimeHints(org.springframework.boot.actuate.autoconfigure.cloudfoundry.CloudFoundryWebEndpointDiscoverer.CloudFoundryWebEndpointDiscovererRuntimeHints.class)
public class CloudFoundryWebEndpointDiscoverer
extends WebEndpointDiscoverer
WebEndpointDiscoverer for Cloud Foundry that uses Cloud Foundry specific
extensions for the HealthEndpoint.- Since:
- 2.0.0
- Author:
- Madhura Bhave
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
EndpointDiscoverer.OperationKey -
Constructor Summary
ConstructorsConstructorDescriptionCloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> filters) Create a newWebEndpointDiscovererinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisExtensionTypeExposed(Class<?> extensionBeanType) Determine if an extension bean should be exposed.Methods inherited from class org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
createEndpoint, createOperation, createOperationKeyMethods inherited from class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
getEndpoints, getEndpointType, isEndpointTypeExposedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.endpoint.EndpointsSupplier
getEndpoints
-
Constructor Details
-
CloudFoundryWebEndpointDiscoverer
public CloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> filters) Create a newWebEndpointDiscovererinstance.- Parameters:
applicationContext- the source application contextparameterValueMapper- the parameter value mapperendpointMediaTypes- the endpoint media typesendpointPathMappers- the endpoint path mappersinvokerAdvisors- invoker advisors to applyfilters- 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
-