@SPI(value="default") public interface ServiceRestMetadataResolver extends Prioritized
ServiceRestMetadata based on Annotation Processor ToolCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
ServiceRestMetadata |
resolve(ProcessingEnvironment processingEnvironment,
TypeElement serviceType,
Set<? extends TypeElement> annotations)
Resolve the
ServiceRestMetadata from given service type |
boolean |
supports(ProcessingEnvironment processingEnvironment,
TypeElement serviceType)
Supports or not to the specified service type
|
compareTo, getPriorityboolean supports(ProcessingEnvironment processingEnvironment, TypeElement serviceType)
processingEnvironment - ProcessingEnvironmentserviceType - Dubbo service type or interfacetrue, or falseServiceRestMetadata resolve(ProcessingEnvironment processingEnvironment, TypeElement serviceType, Set<? extends TypeElement> annotations)
ServiceRestMetadata from given service typeprocessingEnvironment - ProcessingEnvironmentserviceType - Dubbo service type or interfaceannotations - Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.