Class BulkheadImpl__ServiceDescriptor<T extends io.helidon.faulttolerance.BulkheadImpl>

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

public class BulkheadImpl__ServiceDescriptor<T extends io.helidon.faulttolerance.BulkheadImpl> extends Object implements ServiceDescriptor<T>, GeneratedService.PerInstanceDescriptor
Service descriptor for BulkheadImpl.
  • Field Details

    • INSTANCE

      public static final BulkheadImpl__ServiceDescriptor<io.helidon.faulttolerance.BulkheadImpl> INSTANCE
      Global singleton instance for this descriptor.
    • DEP_0

      public static final Dependency DEP_0
      Injection point dependency for BulkheadImpl(BulkheadConfig config, Supplier meterRegistry, ServiceRegistry serviceRegistry), parameter config.
    • DEP_1

      public static final Dependency DEP_1
      Injection point dependency for BulkheadImpl(BulkheadConfig config, Supplier meterRegistry, ServiceRegistry serviceRegistry), parameter meterRegistry.
    • DEP_2

      public static final Dependency DEP_2
      Injection point dependency for BulkheadImpl(BulkheadConfig config, Supplier meterRegistry, ServiceRegistry serviceRegistry), parameter serviceRegistry.
  • Constructor Details

    • BulkheadImpl__ServiceDescriptor

      protected BulkheadImpl__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.faulttolerance.BulkheadImpl>
      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.faulttolerance.BulkheadImpl>
      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.faulttolerance.BulkheadImpl 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.faulttolerance.BulkheadImpl>
      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
    • 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