Class ManagementEndpointImpl
java.lang.Object
org.apache.servicecomb.solution.basic.integration.ManagementEndpointImpl
- All Implemented Interfaces:
ManagementEndpoint
@RestSchema(schemaId="scb-management",
schemaInterface=ManagementEndpoint.class)
public class ManagementEndpointImpl
extends Object
implements ManagementEndpoint
-
Field Summary
Fields inherited from interface org.apache.servicecomb.solution.basic.integration.ManagementEndpoint
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHealth of this instance.Schemas of this instance.voidsetLocalOpenAPIRegistry(org.apache.servicecomb.core.provider.LocalOpenAPIRegistry localOpenAPIRegistry) voidsetRegistrationManager(org.apache.servicecomb.registry.RegistrationManager registrationManager)
-
Constructor Details
-
ManagementEndpointImpl
public ManagementEndpointImpl()
-
-
Method Details
-
setRegistrationManager
@Autowired public void setRegistrationManager(org.apache.servicecomb.registry.RegistrationManager registrationManager) -
setLocalOpenAPIRegistry
@Autowired public void setLocalOpenAPIRegistry(org.apache.servicecomb.core.provider.LocalOpenAPIRegistry localOpenAPIRegistry) -
health
Description copied from interface:ManagementEndpointHealth of this instance. If the instanceId match this instance, and this service is ready to service return true. Otherwise, return false. This api is for internal instance status usage. Load balancer will call this api to check if the target instance is alive.- Specified by:
healthin interfaceManagementEndpoint
-
schemaContents
Description copied from interface:ManagementEndpointSchemas of this instance. This api is for internal schema loading usage.- Specified by:
schemaContentsin interfaceManagementEndpoint
-