Class RegistryBean
java.lang.Object
org.apache.servicecomb.localregistry.RegistryBean
Configuration bean for local services. Bean configuration is token
same as `registry.yaml` file configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSchemaId(String schemaId) addSchemaInterface(String schemaId, Class<?> schemaInterface) static RegistryBeanbuildFromYamlModel(String serviceName, Map<String, Object> serviceConfig) getAppId()getId()setInstances(RegistryBean.Instances instances) setSchemaIds(List<String> schemaIds) setServiceName(String serviceName) setVersion(String version)
-
Constructor Details
-
RegistryBean
public RegistryBean()
-
-
Method Details
-
buildFromYamlModel
-
getId
-
setId
-
getServiceName
-
setServiceName
-
getVersion
-
setVersion
-
getAppId
-
setAppId
-
addSchemaInterface
-
addSchemaId
-
setSchemaIds
-
getSchemaIds
-
getSchemaInterfaces
-
getInstances
-
setInstances
-