public interface Registration extends org.apache.servicecomb.foundation.common.utils.SPIEnabled, org.apache.servicecomb.foundation.common.utils.SPIOrder, LifeCycle
| Modifier and Type | Method and Description |
|---|---|
void |
addBasePath(Collection<BasePath> basePaths)
adding BasePath to MicroserviceInstance
Life Cycle:This method is called after
init and before run. |
void |
addEndpoint(String endpoint)
adding endpoints to MicroserviceInstance
Life Cycle:This method is called after
init and before run. |
void |
addSchema(String schemaId,
String content)
adding schemas to Microservice
Life Cycle:This method is called after
init and before run. |
String |
getAppId()
get application id
Life Cycle:This method is called anytime after
run. |
Microservice |
getMicroservice()
get Microservice
Life Cycle:This method is called anytime after
run. |
MicroserviceInstance |
getMicroserviceInstance()
get MicroserviceInstance
Life Cycle:This method is called anytime after
run. |
String |
name() |
boolean |
updateMicroserviceInstanceStatus(MicroserviceInstanceStatus status)
update MicroserviceInstance status
Life Cycle:This method is called anytime after
run. |
String name()
MicroserviceInstance getMicroserviceInstance()
run.Microservice getMicroservice()
run.String getAppId()
run.boolean updateMicroserviceInstanceStatus(MicroserviceInstanceStatus status)
run.void addSchema(String schemaId, String content)
init and before run.void addEndpoint(String endpoint)
init and before run.void addBasePath(Collection<BasePath> basePaths)
init and before run.Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.