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
ConstructorDescriptionCloudFoundryWebEndpointDiscoverer
(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> filters) Create a newWebEndpointDiscoverer
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isExtensionTypeExposed
(Class<?> extensionBeanType) Determine if an extension bean should be exposed.Methods inherited from class org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
createEndpoint, createOperation, createOperationKey
Methods inherited from class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
getEndpoints, getEndpointType, isEndpointTypeExposed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 newWebEndpointDiscoverer
instance.- 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:EndpointDiscoverer
Determine if an extension bean should be exposed. Subclasses can override this method to provide additional logic.- Overrides:
isExtensionTypeExposed
in classEndpointDiscoverer<ExposableWebEndpoint,
WebOperation> - Parameters:
extensionBeanType
- the extension bean type- Returns:
true
if the extension is exposed
-