EndpointResolverFactoryExtensionPoint resolverFactories =
extensionPoints.getExtensionPoint(EndpointResolverFactoryExtensionPoint.class);
for (Binding binding : endpoint.getCandidateBindings()){
EndpointResolverFactory resolverFactory = resolverFactories.getEndpointResolverFactory(binding.getClass());
// if the binding in question has a endpoint resolver factory they try and
// create an endpoint resolver
if (resolverFactory != null){
EndpointResolver resolver = resolverFactory.createEndpointResolver(endpoint, binding);
if (resolver != null){
endpointResolvers.add(resolver);
}
}