Class LinkedListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>

java.lang.Object
io.helidon.json.binding.factories.ListBindingFactory__ServiceDescriptor<T>
io.helidon.json.binding.factories.LinkedListBindingFactory__ServiceDescriptor<T>
Type Parameters:
T - type of the service, for extensibility
All Implemented Interfaces:
Weighted, ServiceDescriptor<T>, ServiceInfo, Comparable<Weighted>

public class LinkedListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory> extends ListBindingFactory__ServiceDescriptor<T>
Service descriptor for LinkedListBindingFactory.
  • Field Details

  • Constructor Details

    • LinkedListBindingFactory__ServiceDescriptor

      protected LinkedListBindingFactory__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
      Overrides:
      serviceType in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      Returns:
      service type
    • providedType

      public TypeName providedType()
      Description copied from interface: ServiceInfo
      The type that implements ServiceInfo.contracts(). If the described service is not a factory, this will be the ServiceInfo.serviceType(). If the described service is a factory, this will be the type in its factory declaration, i.e. the type it supplies, or the type of the services factory.
      Returns:
      type this service provides; this may be an interface, or an implementation, the type will implement all ServiceInfo.contracts() of this service
    • descriptorType

      public TypeName descriptorType()
      Description copied from interface: ServiceInfo
      Type of the service descriptor (usually generated).
      Specified by:
      descriptorType in interface ServiceInfo
      Overrides:
      descriptorType in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      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.json.binding.factories.LinkedListBindingFactory>
      Specified by:
      scope in interface ServiceInfo
      Overrides:
      scope in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      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
      Overrides:
      contracts in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      Returns:
      set of contracts
    • factoryContracts

      public Set<ResolvedType> factoryContracts()
      Description copied from interface: ServiceInfo
      Set of contracts that identify the factory provider itself. These contracts are distinct from contracts of services provided by the factory. If the service is not a factory, this set is empty.
      Returns:
      set of factory 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.json.binding.factories.LinkedListBindingFactory>
      Overrides:
      typeSet in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      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.
      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.
      Returns:
      required dependencies
    • isAbstract

      public boolean isAbstract()
      Description copied from interface: ServiceInfo
      Returns true for abstract classes and interfaces, returns false by default.
      Returns:
      whether this descriptor describes an abstract class or interface
    • instantiate

      public io.helidon.json.binding.factories.LinkedListBindingFactory 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.json.binding.factories.LinkedListBindingFactory>
      Overrides:
      instantiate in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      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
    • 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
      Overrides:
      weight in class ListBindingFactory__ServiceDescriptor<T extends io.helidon.json.binding.factories.LinkedListBindingFactory>
      Returns:
      the weight of this service, must be a non-negative number
    • runLevel

      public Optional<Double> runLevel()
      Description copied from interface: ServiceInfo
      Run level of this service.
      Returns:
      run level
    • 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.
      Returns:
      factory type