- All Superinterfaces:
ServiceInfoBasics
Describes a managed service or injection point.
- See Also:
-
Field Summary
Fields inherited from interface io.helidon.pico.api.ServiceInfoBasics
DEFAULT_WEIGHT -
Method Summary
Modifier and TypeMethodDescriptionThe management agent (i.e., the activator) that is responsible for creating and activating - typically build-time created.The managed services external contracts / interfaces.default booleanmatches(ServiceInfoCriteria criteria) Determines whether this service info matches the criteria for injection.static booleanmatchesQualifiers(Collection<QualifierAndValue> src, Collection<QualifierAndValue> criteria) Matches qualifier collections.The name of the ascribed module, if known.static io.helidon.pico.api.DefaultServiceInfo.BuilderCreates a builder from aServiceInfoBasicsinstance.Methods inherited from interface io.helidon.pico.api.ServiceInfoBasics
contractsImplemented, declaredRunLevel, declaredWeight, qualifiers, realizedRunLevel, realizedWeight, scopeTypeNames, serviceTypeName
-
Method Details
-
externalContractsImplemented
The managed services external contracts / interfaces. These should also be contained withinServiceInfoBasics.contractsImplemented(). External contracts are from other modules other than the module containing the implementation typically.- Returns:
- the service external contracts implemented
- See Also:
-
activatorTypeName
The management agent (i.e., the activator) that is responsible for creating and activating - typically build-time created.- Returns:
- the activator type name
-
moduleName
The name of the ascribed module, if known.- Returns:
- the module name
-
matches
Determines whether this service info matches the criteria for injection. Matches is a looser form of equality check thanequals(). If a service matches criteria it is generally assumed to be viable for assignability.- Parameters:
criteria- the criteria to compare against- Returns:
- true if the criteria provided matches this instance
-
matchesQualifiers
static boolean matchesQualifiers(Collection<QualifierAndValue> src, Collection<QualifierAndValue> criteria) Matches qualifier collections.- Parameters:
src- the target service info to evaluatecriteria- the criteria to compare against- Returns:
- true if the criteria provided matches this instance
-
toBuilder
Creates a builder from aServiceInfoBasicsinstance.- Parameters:
val- the instance to copy- Returns:
- the fluent builder
-