Class LocalRegistrationInstance
java.lang.Object
org.apache.servicecomb.localregistry.LocalRegistrationInstance
- All Implemented Interfaces:
MicroserviceInstance,RegistrationInstance
-
Constructor Summary
ConstructorsConstructorDescriptionLocalRegistrationInstance(org.springframework.core.env.Environment environment, DataCenterProperties dataCenterProperties, LocalOpenAPIRegistry localOpenAPIRegistry, RegistrationId registrationId) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEndpoint(String endpoint) voidaddProperty(String key, String value) getAlias()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.servicecomb.registry.api.MicroserviceInstance
getServiceId
-
Constructor Details
-
LocalRegistrationInstance
public LocalRegistrationInstance(org.springframework.core.env.Environment environment, DataCenterProperties dataCenterProperties, LocalOpenAPIRegistry localOpenAPIRegistry, RegistrationId registrationId)
-
-
Method Details
-
getEnvironment
- Specified by:
getEnvironmentin interfaceMicroserviceInstance
-
getApplication
- Specified by:
getApplicationin interfaceMicroserviceInstance
-
getServiceName
- Specified by:
getServiceNamein interfaceMicroserviceInstance
-
getAlias
- Specified by:
getAliasin interfaceMicroserviceInstance
-
getVersion
- Specified by:
getVersionin interfaceMicroserviceInstance
-
getDataCenterInfo
- Specified by:
getDataCenterInfoin interfaceMicroserviceInstance
-
getDescription
- Specified by:
getDescriptionin interfaceMicroserviceInstance
-
getProperties
- Specified by:
getPropertiesin interfaceMicroserviceInstance
-
getSchemas
- Specified by:
getSchemasin interfaceMicroserviceInstance
-
getEndpoints
- Specified by:
getEndpointsin interfaceMicroserviceInstance
-
getInstanceId
- Specified by:
getInstanceIdin interfaceMicroserviceInstance
-
getStatus
- Specified by:
getStatusin interfaceMicroserviceInstance
-
addEndpoint
-
addProperty
-