@Singleton public class DefaultServiceInstanceIdGenerator extends Object implements ServiceInstanceIdGenerator
| Modifier | Constructor and Description | 
|---|---|
protected  | 
DefaultServiceInstanceIdGenerator()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
generateId(Environment environment,
          ServiceInstance serviceInstance)
Generates a service ID. 
 | 
protected DefaultServiceInstanceIdGenerator()
@NonNull public String generateId(Environment environment, ServiceInstance serviceInstance)
ServiceInstanceIdGeneratorgenerateId in interface ServiceInstanceIdGeneratorenvironment - The environmentserviceInstance - The service instance