public interface ServiceRegistryInterface
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADDRESS
The endpoint
|
static java.lang.String |
NAME
The name
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ServiceDescription> |
lookup(java.lang.String serviceType,
java.lang.String opName)
Look up list of services with service type and operation
|
int |
register(ServiceDescription serviceDescription)
Register a service with its description
|
void |
unRegister(int registerId)
Unregister a service with its register id
|
static final java.lang.String NAME
static final java.lang.String ADDRESS
int register(ServiceDescription serviceDescription)
serviceDescription - the service descriptionvoid unRegister(int registerId)
registerId - the unique register idjava.util.List<ServiceDescription> lookup(java.lang.String serviceType, java.lang.String opName)
serviceType - the service typeopName - the operation name