Class ServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl

java.lang.Object
io.helidon.inject.api.ServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
All Implemented Interfaces:
Prototype.Api, ServiceInfoBasics
Direct Known Subclasses:
ServiceInfo.BuilderBase.ServiceInfoImpl
Enclosing class:
ServiceInfoBasics.BuilderBase<BUILDER extends ServiceInfoBasics.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ServiceInfoBasics>

protected static class ServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl extends Object implements ServiceInfoBasics
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Field Details

    • DEFAULT_INJECT_WEIGHT

      static final double DEFAULT_INJECT_WEIGHT
      Default weight for any internal Injection service component. It is defined to be Weighted.DEFAULT_WEIGHT - 1 in order to allow any other service implementation to naturally have a higher weight (since it will use the DEFAULT_WEIGHT unless explicitly overridden.
      See Also:
  • Constructor Details

    • ServiceInfoBasicsImpl

      protected ServiceInfoBasicsImpl(ServiceInfoBasics.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • serviceTypeName

      public TypeName serviceTypeName()
    • scopeTypeNames

      public Set<TypeName> scopeTypeNames()
    • qualifiers

      public Set<Qualifier> qualifiers()
    • contractsImplemented

      public Set<TypeName> contractsImplemented()
    • declaredRunLevel

      public Optional<Integer> declaredRunLevel()
    • declaredWeight

      public Optional<Double> declaredWeight()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • realizedRunLevel

      default int realizedRunLevel()
      The realized run level will use the default run level if no run level was specified directly.
      Returns:
      the realized run level
      See Also:
    • realizedWeight

      default double realizedWeight()
      The realized weight will use Weighted.DEFAULT_WEIGHT if no weight was specified directly.
      Returns:
      the realized weight
      See Also: