Class LoomClient__ServiceDescriptor<T extends io.helidon.webclient.api.LoomClient>

java.lang.Object
io.helidon.webclient.api.LoomClient__ServiceDescriptor<T>
Type Parameters:
T - type of the service, for extensibility
All Implemented Interfaces:
Weighted, GeneratedService.PerInstanceDescriptor, ServiceDescriptor<T>, ServiceInfo, Comparable<Weighted>

public class LoomClient__ServiceDescriptor<T extends io.helidon.webclient.api.LoomClient> extends Object implements ServiceDescriptor<T>, GeneratedService.PerInstanceDescriptor
Service descriptor for LoomClient.
  • Field Details

    • INSTANCE

      public static final LoomClient__ServiceDescriptor<io.helidon.webclient.api.LoomClient> INSTANCE
      Global singleton instance for this descriptor.
    • DEP_0

      public static final Dependency DEP_0
      Injection point dependency for LoomClient(WebClientConfig config), parameter config.
  • Constructor Details

    • LoomClient__ServiceDescriptor

      protected LoomClient__ServiceDescriptor()
      Constructor with no side effects
  • 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
    • scope

      public TypeName scope()
      Description copied from interface: ServiceDescriptor
      Scope of this service.
      Specified by:
      scope in interface ServiceDescriptor<T extends io.helidon.webclient.api.LoomClient>
      Specified by:
      scope in interface ServiceInfo
      Returns:
      scope of the service
    • 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
    • typeSet

      public Set<ResolvedType> typeSet(ResolvedType contract)
      Description copied from interface: ServiceDescriptor
      Provide a mapping of a contracts of this service to its contract type set. If the result is empty, it will be ignored.
      Specified by:
      typeSet in interface ServiceDescriptor<T extends io.helidon.webclient.api.LoomClient>
      Parameters:
      contract - contract to get types for
      Returns:
      type map for each type that is a contract of this service
    • qualifiers

      public Set<Qualifier> qualifiers()
      Description copied from interface: ServiceInfo
      Service qualifiers.
      Specified by:
      qualifiers in interface ServiceInfo
      Returns:
      qualifiers
    • dependencies

      public List<Dependency> dependencies()
      Description copied from interface: ServiceInfo
      List of dependencies required by this service. These may be injection points as constructor parameters, fields, or setter methods.
      Specified by:
      dependencies in interface ServiceInfo
      Returns:
      required dependencies
    • instantiate

      public io.helidon.webclient.api.LoomClient instantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject)
      Description copied from interface: ServiceDescriptor
      Create a new service instance.
      Specified by:
      instantiate in interface ServiceDescriptor<T extends io.helidon.webclient.api.LoomClient>
      Parameters:
      ctx__helidonInject - dependency context with all dependencies of this service
      interceptMeta__helidonInject - metadata handler for interception
      Returns:
      a new instance, must be of the type T or a subclass
    • preDestroy

      public void preDestroy(io.helidon.webclient.api.LoomClient instance)
      Description copied from interface: ServiceDescriptor
      Invoke Service.PreDestroy annotated method(s).
      Specified by:
      preDestroy in interface ServiceDescriptor<T extends io.helidon.webclient.api.LoomClient>
      Parameters:
      instance - instance to use
    • weight

      public double weight()
      Description copied from interface: Weighted
      Weight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use the Weight annotation rather than implementing this interface as long as it is supported by the library using this Weighted.
      Specified by:
      weight in interface Weighted
      Returns:
      the weight of this service, must be a non-negative number
    • createFor

      public TypeName createFor()
      Description copied from interface: GeneratedService.PerInstanceDescriptor
      Service instances may be created for instances of another service. If a type is created for another type, it inherits ALL qualifiers of the type that it is based on.
      Specified by:
      createFor in interface GeneratedService.PerInstanceDescriptor
      Returns:
      create for service type