public static ServiceDiscovery createLokateServiceDiscovery(final List<URI> configs) {

        return serviceDiscoveryBuilder()
                .setServiceDiscoveryProvider(
                        new LokateServiceDiscoveryProvider(
                                DiscoveryService.create(configs)))
                .build();

    }
public static ServiceDiscovery createLokateServiceDiscovery(final List<URI> configs) {

        return serviceDiscoveryBuilder()
                .setServiceDiscoveryProvider(
                        new LokateServiceDiscoveryProvider(
                                DiscoveryService.create(configs)))
                .build();

    }
public static ServiceDiscovery createLokateServiceDiscovery ( final List < URI > configs ) { return serviceDiscoveryBuilder ( ) . setServiceDiscoveryProvider ( new LokateServiceDiscoveryProvider ( DiscoveryService . create ( configs ) ) ) . build ( ) ; }
Create service discovery that can talk via Lokate.

@param configs configs
@return ServiceDiscovery
Create service discovery that can talk via Lokate .