- All Superinterfaces:
Comparable<Weighted>
,Weighted
- All Known Subinterfaces:
GeneratedService.Descriptor<T>
Service metadata.
-
Field Summary
Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT
-
Method Summary
Modifier and TypeMethodDescriptionSet of contracts the described service implements.default List
<? extends Dependency> List of dependencies required by this service.Type of the service descriptor (usually generated).default boolean
Returnstrue
for abstract classes and interfaces, returnsfalse
by default.Type of the service this descriptor describes.
-
Method Details
-
serviceType
TypeName serviceType()Type of the service this descriptor describes.- Returns:
- service type
-
descriptorType
TypeName descriptorType()Type of the service descriptor (usually generated).- Returns:
- descriptor type
-
contracts
Set of contracts the described service implements.- Returns:
- set of contracts
-
dependencies
List of dependencies required by this service. Each dependency is a point of injection of a dependency into a constructor.- Returns:
- required dependencies
-
isAbstract
default boolean isAbstract()Returnstrue
for abstract classes and interfaces, returnsfalse
by default.- Returns:
- whether this descriptor describes an abstract class or interface
-