java.lang.Object
io.helidon.service.registry.VirtualDescriptor
- All Implemented Interfaces:
Weighted,ServiceDescriptor<Object>,ServiceInfo,Comparable<Weighted>
A virtual descriptor is not backed by a generated descriptor.
-
Field Summary
Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT -
Method Summary
Modifier and TypeMethodDescriptionSet of contracts the described service implements or provides through a factory method.Type of the service descriptor (usually generated).booleaninthashCode()Service qualifiers.Type of the service this descriptor describes.toString()doubleweight()Weight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation).Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.service.registry.ServiceDescriptor
inject, instantiate, postConstruct, preDestroy, scopeMethods inherited from interface io.helidon.service.registry.ServiceInfo
dependencies, factoryContracts, factoryType, isAbstract, providedType, runLevel
-
Method Details
-
serviceType
Description copied from interface:ServiceInfoType of the service this descriptor describes.- Specified by:
serviceTypein interfaceServiceInfo- Returns:
- service type
-
descriptorType
Description copied from interface:ServiceInfoType of the service descriptor (usually generated).- Specified by:
descriptorTypein interfaceServiceInfo- Returns:
- descriptor type
-
contracts
Description copied from interface:ServiceInfoSet of contracts the described service implements or provides through a factory method.- Specified by:
contractsin interfaceServiceInfo- Returns:
- set of contracts
-
weight
public double weight()Description copied from interface:WeightedWeight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use theWeightannotation rather than implementing this interface as long as it is supported by the library using thisWeighted. -
qualifiers
Description copied from interface:ServiceInfoService qualifiers.- Specified by:
qualifiersin interfaceServiceInfo- Returns:
- qualifiers
-
hashCode
public int hashCode() -
equals
-
toString
-