Package com.alipay.sofa.ark.spi.registry
Interface ServiceMetadata
public interface ServiceMetadata
Service Metadata which contains Service metadata information
Service is unique by service anme and plugin name
- Since:
- 0.1.0
- Author:
- qilong.zql
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>get Service Interface ClassService name, generally speaking, it's combined bygetUniqueId()andgetInterfaceClass()get ServiceProviderget service id, different service implementation of same interface can be recognised by uniqueId
-
Method Details
-
getUniqueId
String getUniqueId()get service id, different service implementation of same interface can be recognised by uniqueId- Returns:
- service name
-
getInterfaceClass
Class<?> getInterfaceClass()get Service Interface Class- Returns:
- interface class
-
getServiceProvider
ServiceProvider getServiceProvider()get ServiceProvider- Returns:
-
getServiceName
String getServiceName()Service name, generally speaking, it's combined bygetUniqueId()andgetInterfaceClass()- Returns:
-