public class CloudFoundryWebEndpointDiscoverer extends WebEndpointDiscoverer
WebEndpointDiscoverer
for Cloud Foundry that uses Cloud Foundry specific
extensions for the HealthEndpoint
.EndpointDiscoverer.OperationKey
Constructor and Description |
---|
CloudFoundryWebEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterValueMapper parameterValueMapper,
EndpointMediaTypes endpointMediaTypes,
PathMapper endpointPathMapper,
Collection<OperationInvokerAdvisor> invokerAdvisors,
Collection<EndpointFilter<ExposableWebEndpoint>> filters)
Create a new
WebEndpointDiscoverer instance. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isExtensionExposed(Object extensionBean)
Determine if an extension bean should be exposed.
|
createEndpoint, createOperation, createOperationKey
doIt, getEndpoints, getEndpointType, isEndpointExposed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoints
public CloudFoundryWebEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, PathMapper endpointPathMapper, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> filters)
WebEndpointDiscoverer
instance.applicationContext
- the source application contextparameterValueMapper
- the parameter value mapperendpointMediaTypes
- the endpoint media typesendpointPathMapper
- the endpoint path mapperinvokerAdvisors
- invoker advisors to applyfilters
- filters to applyprotected boolean isExtensionExposed(Object extensionBean)
EndpointDiscoverer
isExtensionExposed
in class EndpointDiscoverer<ExposableWebEndpoint,WebOperation>
extensionBean
- the extension beantrue
if the extension is exposedCopyright © 2018 Pivotal Software, Inc.. All rights reserved.