Class MessagingLifecycleGuard__ServiceDescriptor<T extends io.helidon.messaging.MessagingLifecycleGuard>

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

public class MessagingLifecycleGuard__ServiceDescriptor<T extends io.helidon.messaging.MessagingLifecycleGuard> extends Object implements ServiceDescriptor<T>
Service descriptor for MessagingLifecycleGuard.
  • Field Details

  • Constructor Details

    • MessagingLifecycleGuard__ServiceDescriptor

      protected MessagingLifecycleGuard__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.messaging.MessagingLifecycleGuard>
      Specified by:
      scope in interface ServiceInfo
      Returns:
      scope of the service
    • 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.messaging.MessagingLifecycleGuard>
      Parameters:
      contract - contract to get types for
      Returns:
      type map for each type that is a contract of this service
    • instantiate

      public io.helidon.messaging.MessagingLifecycleGuard 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.messaging.MessagingLifecycleGuard>
      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.messaging.MessagingLifecycleGuard instance)
      Description copied from interface: ServiceDescriptor
      Invoke Service.PreDestroy annotated method(s).
      Specified by:
      preDestroy in interface ServiceDescriptor<T extends io.helidon.messaging.MessagingLifecycleGuard>
      Parameters:
      instance - instance to use
    • runLevel

      public Optional<Double> runLevel()
      Description copied from interface: ServiceInfo
      Run level of this service.
      Specified by:
      runLevel in interface ServiceInfo
      Returns:
      run level