Interface ServiceInfo

All Superinterfaces:
Comparable<Weighted>, Weighted
All Known Subinterfaces:
GeneratedService.Descriptor<T>

public interface ServiceInfo extends Weighted
Service metadata.
  • Field Summary

    Fields inherited from interface io.helidon.common.Weighted

    DEFAULT_WEIGHT
  • Method Summary

    Modifier and Type
    Method
    Description
    default Set<TypeName>
    Set 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
    Returns true for abstract classes and interfaces, returns false by default.
    Type of the service this descriptor describes.

    Methods inherited from interface io.helidon.common.Weighted

    compareTo, weight
  • 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

      default Set<TypeName> contracts()
      Set of contracts the described service implements.
      Returns:
      set of contracts
    • dependencies

      default List<? extends Dependency> 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()
      Returns true for abstract classes and interfaces, returns false by default.
      Returns:
      whether this descriptor describes an abstract class or interface