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).boolean
int
hashCode()
Type of the service this descriptor describes.toString()
double
weight()
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, wait
Methods inherited from interface io.helidon.service.registry.ServiceDescriptor
inject, instantiate, postConstruct, preDestroy, scope
Methods inherited from interface io.helidon.service.registry.ServiceInfo
dependencies, factoryContracts, factoryType, isAbstract, providedType, qualifiers, runLevel
-
Method Details
-
serviceType
Description copied from interface:ServiceInfo
Type of the service this descriptor describes.- Specified by:
serviceType
in interfaceServiceInfo
- Returns:
- service type
-
descriptorType
Description copied from interface:ServiceInfo
Type of the service descriptor (usually generated).- Specified by:
descriptorType
in interfaceServiceInfo
- Returns:
- descriptor type
-
contracts
Description copied from interface:ServiceInfo
Set of contracts the described service implements or provides through a factory method.- Specified by:
contracts
in interfaceServiceInfo
- Returns:
- set of contracts
-
weight
public double weight()Description copied from interface:Weighted
Weight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use theWeight
annotation rather than implementing this interface as long as it is supported by the library using thisWeighted
. -
hashCode
public int hashCode() -
equals
-
toString
-