T
- the endpoint operation typepublic class EndpointProvider<T extends Operation> extends Object
EndpointDiscoverer
and
the current Environment
.Constructor and Description |
---|
EndpointProvider(org.springframework.core.env.Environment environment,
EndpointDiscoverer<T> discoverer,
EndpointExposure exposure)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<EndpointInfo<T>> |
getEndpoints() |
public EndpointProvider(org.springframework.core.env.Environment environment, EndpointDiscoverer<T> discoverer, EndpointExposure exposure)
environment
- the environment to use to check the endpoints that are enableddiscoverer
- the discoverer to get the initial set of endpointsexposure
- the exposure technology for the endpointpublic Collection<EndpointInfo<T>> getEndpoints()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.