Class BaseEndpointResolutionStrategy
java.lang.Object
org.jclouds.openstack.keystone.catalog.functions.BaseEndpointResolutionStrategy
- All Implemented Interfaces:
- com.google.common.base.Function<Collection<ServiceEndpoint>,,- com.google.common.base.Supplier<URI>> - Function<Collection<ServiceEndpoint>,,- com.google.common.base.Supplier<URI>> - ServiceEndpointResolutionStrategy
- Direct Known Subclasses:
- AdminURL,- InternalURL,- PublicURLOrInternal
public abstract class BaseEndpointResolutionStrategy
extends Object
implements ServiceEndpointResolutionStrategy
Resolves the endpoint to be used to connect to a service based on a given
 predicate.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncom.google.common.base.Supplier<URI> apply(Collection<ServiceEndpoint> input) protected abstract com.google.common.base.Predicate<ServiceEndpoint> filter()protected static com.google.common.base.Predicate<ServiceEndpoint> Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Functionequals
- 
Constructor Details- 
BaseEndpointResolutionStrategypublic BaseEndpointResolutionStrategy()
 
- 
- 
Method Details- 
filter
- 
apply- Specified by:
- applyin interface- com.google.common.base.Function<Collection<ServiceEndpoint>,- com.google.common.base.Supplier<URI>> 
- Specified by:
- applyin interface- Function<Collection<ServiceEndpoint>,- com.google.common.base.Supplier<URI>> 
 
- 
withIfaceprotected static com.google.common.base.Predicate<ServiceEndpoint> withIface(ServiceEndpoint.Interface iface) 
 
-