Module io.helidon.inject.api
Package io.helidon.inject.api
Class ServiceInfo.BuilderBase.ServiceInfoImpl
java.lang.Object
io.helidon.inject.api.ServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
io.helidon.inject.api.ServiceInfo.BuilderBase.ServiceInfoImpl
- All Implemented Interfaces:
Prototype.Api,ServiceInfo,ServiceInfoBasics
- Enclosing class:
ServiceInfo.BuilderBase<BUILDER extends ServiceInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ServiceInfo>
protected static class ServiceInfo.BuilderBase.ServiceInfoImpl
extends ServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
implements ServiceInfo
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.inject.api.ServiceInfo
ServiceInfo.Builder, ServiceInfo.BuilderBase<BUILDER extends ServiceInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ServiceInfo> Nested classes/interfaces inherited from interface io.helidon.inject.api.ServiceInfoBasics
ServiceInfoBasics.Builder, ServiceInfoBasics.BuilderBase<BUILDER extends ServiceInfoBasics.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ServiceInfoBasics> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleDeprecated, for removal: This API element is subject to removal in a future version.Default weight for any internal Injection service component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServiceInfoImpl(ServiceInfo.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The managed services advertised types (i.e., typically its interfaces).Deprecated, for removal: This API element is subject to removal in a future version.The optionalRunLevelascribed to the service.Deprecated, for removal: This API element is subject to removal in a future version.Weight that was declared on the type itself.booleaninthashCode()default booleanmatches(ServiceInfoCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version.Determines whether this service info matches the criteria for injection.Deprecated, for removal: This API element is subject to removal in a future version.The managed service assigned Qualifier's.default intDeprecated, for removal: This API element is subject to removal in a future version.The realized run level will use the default run level if no run level was specified directly.default doubleDeprecated, for removal: This API element is subject to removal in a future version.The realized weight will useWeighted.DEFAULT_WEIGHTif no weight was specified directly.Deprecated, for removal: This API element is subject to removal in a future version.The managed service assigned Scope's.Deprecated, for removal: This API element is subject to removal in a future version.The managed service implementationClass.toString()Methods inherited from class io.helidon.inject.api.ServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
contractsImplemented, declaredRunLevel, declaredWeight, qualifiers, scopeTypeNames, serviceTypeName
-
Field Details
-
DEFAULT_INJECT_WEIGHT
static final double DEFAULT_INJECT_WEIGHTDeprecated, for removal: This API element is subject to removal in a future version.Default weight for any internal Injection service component. It is defined to beWeighted.DEFAULT_WEIGHT- 1in order to allow any other service implementation to naturally have a higher weight (since it will use theDEFAULT_WEIGHTunless explicitly overridden.- See Also:
-
-
Constructor Details
-
ServiceInfoImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
externalContractsImplemented
-
activatorTypeName
-
moduleName
-
toString
- Overrides:
toStringin classServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
-
equals
- Overrides:
equalsin classServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classServiceInfoBasics.BuilderBase.ServiceInfoBasicsImpl
-
matches
Deprecated, for removal: This API element is subject to removal in a future version.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
-
serviceTypeName
TypeName serviceTypeName()Deprecated, for removal: This API element is subject to removal in a future version.The managed service implementationClass.- Returns:
- the service type name
-
scopeTypeNames
Deprecated, for removal: This API element is subject to removal in a future version.The managed service assigned Scope's.- Returns:
- the service scope type name
-
qualifiers
Deprecated, for removal: This API element is subject to removal in a future version.The managed service assigned Qualifier's.- Returns:
- the service qualifiers
-
contractsImplemented
Deprecated, for removal: This API element is subject to removal in a future version.The managed services advertised types (i.e., typically its interfaces).- Returns:
- the service contracts implemented
- See Also:
-
declaredRunLevel
Deprecated, for removal: This API element is subject to removal in a future version.The optionalRunLevelascribed to the service.- Returns:
- the service's run level
- See Also:
-
realizedRunLevel
default int realizedRunLevel()Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.Weight that was declared on the type itself.- Returns:
- the declared weight
- See Also:
-
realizedWeight
default double realizedWeight()Deprecated, for removal: This API element is subject to removal in a future version.The realized weight will useWeighted.DEFAULT_WEIGHTif no weight was specified directly.- Returns:
- the realized weight
- See Also:
-