Interface ServiceInfoBasics

All Known Subinterfaces:
ServiceInfo

public interface ServiceInfoBasics
Basic service info that describes a service provider type.
See Also:
  • Field Details

    • DEFAULT_WEIGHT

      static final double DEFAULT_WEIGHT
      Default weight for any weighted component (whether it implements this interface or uses Weight annotation).
      See Also:
  • Method Details

    • serviceTypeName

      String serviceTypeName()
      The managed service implementation Class.
      Returns:
      the service type name
    • scopeTypeNames

      Set<String> scopeTypeNames()
      The managed service assigned Scope's.
      Returns:
      the service scope type name
    • qualifiers

      Set<QualifierAndValue> qualifiers()
      The managed service assigned Qualifier's.
      Returns:
      the service qualifiers
    • contractsImplemented

      Set<String> contractsImplemented()
      The managed services advertised types (i.e., typically its interfaces).
      Returns:
      the service contracts implemented
      See Also:
    • declaredRunLevel

      Optional<Integer> declaredRunLevel()
      The optional RunLevel ascribed to the service.
      Returns:
      the service's run level
      See Also:
    • 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:
    • declaredWeight

      Optional<Double> declaredWeight()
      Weight that was declared on the type itself.
      Returns:
      the declared weight
      See Also:
    • realizedWeight

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