@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,
java.util.Map<java.lang.String,java.lang.String> metadata)
Contribute metadata to the given
ServiceInstance prior to registration. |
void contribute(ServiceInstance instance, java.util.Map<java.lang.String,java.lang.String> metadata)
ServiceInstance
prior to registration.instance
- The instancemetadata
- The metadata