Class InstanceName__ServiceDescriptor

java.lang.Object
io.helidon.service.registry.InstanceName__ServiceDescriptor
All Implemented Interfaces:
Weighted, ServiceDescriptor<String>, ServiceInfo, Comparable<Weighted>

public class InstanceName__ServiceDescriptor extends Object implements ServiceDescriptor<String>
Service descriptor to enable injection of String name of a Service.PerInstance service (using qualifier Service.InstanceName).

Not intended for direct use by users, implementation detail of the service registry, must be public, as it may be used in generated binding.

  • Field Details

  • Method Details

    • serviceType

      public TypeName serviceType()
      Description copied from interface: ServiceInfo
      Type of the service this descriptor describes.
      Specified by:
      serviceType in interface ServiceInfo
      Returns:
      service type
    • descriptorType

      public TypeName descriptorType()
      Description copied from interface: ServiceInfo
      Type of the service descriptor (usually generated).
      Specified by:
      descriptorType in interface ServiceInfo
      Returns:
      descriptor type
    • contracts

      public Set<ResolvedType> contracts()
      Description copied from interface: ServiceInfo
      Set of contracts the described service implements or provides through a factory method.
      Specified by:
      contracts in interface ServiceInfo
      Returns:
      set of contracts
    • factoryType

      public FactoryType factoryType()
      Description copied from interface: ServiceInfo
      What factory type is the described service. Inject services can be any of the types in the enum.
      Specified by:
      factoryType in interface ServiceInfo
      Returns:
      factory type