@Indexed(value=ServiceInstanceMetadataContributor.class) public interface ServiceInstanceMetadataContributor
ServiceInstance
metadata
when registering an instance with a discovery service.Modifier and Type | Method and Description |
---|---|
void |
contribute(ServiceInstance instance,
Map<String,String> metadata)
Contribute metadata to the given
ServiceInstance prior to registration. |
void contribute(ServiceInstance instance, Map<String,String> metadata)
ServiceInstance
prior to registration.instance
- The instancemetadata
- The metadata