Class PerRequestScopeHandler__ServiceDescriptor<T extends io.helidon.service.registry.PerRequestScopeHandler>

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

public class PerRequestScopeHandler__ServiceDescriptor<T extends io.helidon.service.registry.PerRequestScopeHandler> extends Object implements ServiceDescriptor<T>, GeneratedService.ScopeHandlerDescriptor
Service descriptor for PerRequestScopeHandler.
  • Field Details

  • Constructor Details

    • PerRequestScopeHandler__ServiceDescriptor

      protected PerRequestScopeHandler__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.service.registry.PerRequestScopeHandler>
      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.service.registry.PerRequestScopeHandler>
      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
    • instantiate

      public io.helidon.service.registry.PerRequestScopeHandler 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.service.registry.PerRequestScopeHandler>
      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
    • handledScope

      public TypeName handledScope()
      Description copied from interface: GeneratedService.ScopeHandlerDescriptor
      Scope handled by the scope handler service.
      Specified by:
      handledScope in interface GeneratedService.ScopeHandlerDescriptor
      Returns:
      type of the scope handled (annotation)