Class AsyncImpl__ServiceDescriptor<T extends io.helidon.faulttolerance.AsyncImpl>
java.lang.Object
io.helidon.faulttolerance.AsyncImpl__ServiceDescriptor<T>
- Type Parameters:
T- type of the service, for extensibility
- All Implemented Interfaces:
Weighted, GeneratedService.PerInstanceDescriptor, ServiceDescriptor<T>, ServiceInfo, Comparable<Weighted>
public class AsyncImpl__ServiceDescriptor<T extends io.helidon.faulttolerance.AsyncImpl>
extends Object
implements ServiceDescriptor<T>, GeneratedService.PerInstanceDescriptor
Service descriptor for
AsyncImpl.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DependencyInjection point dependency for AsyncImpl(ServiceRegistry services, AsyncConfig config), parameter services.static final DependencyInjection point dependency for AsyncImpl(ServiceRegistry services, AsyncConfig config), parameter config.static final AsyncImpl__ServiceDescriptor<io.helidon.faulttolerance.AsyncImpl> Global singleton instance for this descriptor.Fields inherited from interface Weighted
DEFAULT_WEIGHTModifier and TypeFieldDescriptionstatic final doubleDefault weight for any weighted component (whether it implements this interface or usesWeightannotation). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor with no side effects -
Method Summary
Modifier and TypeMethodDescriptionSet of contracts the described service implements or provides through a factory method.Service instances may be created for instances of another service.List of dependencies required by this service.Type of the service descriptor (usually generated).io.helidon.faulttolerance.AsyncImplinstantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject) Create a new service instance.Service qualifiers.scope()Scope of this service.Type of the service this descriptor describes.typeSet(ResolvedType contract) Provide a mapping of a contracts of this service to its contract type set.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServiceDescriptor
inject, postConstruct, preDestroyModifier and TypeMethodDescriptiondefault voidinject(DependencyContext ctx, InterceptionMetadata interceptionMetadata, Set<String> injected, T instance) Inject fields and methods.default voidpostConstruct(T instance) InvokeService.PostConstructannotated method(s).default voidpreDestroy(T instance) InvokeService.PreDestroyannotated method(s).Methods inherited from interface ServiceInfo
factoryContracts, factoryType, isAbstract, providedType, runLevelModifier and TypeMethodDescriptiondefault Set<ResolvedType> Set of contracts that identify the factory provider itself.default FactoryTypeWhat factory type is the described service.default booleanReturnstruefor abstract classes and interfaces, returnsfalseby default.default TypeNameThe type that implementsServiceInfo.contracts().runLevel()Run level of this service.
-
Field Details
-
INSTANCE
Global singleton instance for this descriptor. -
DEP_0
Injection point dependency for AsyncImpl(ServiceRegistry services, AsyncConfig config), parameter services. -
DEP_1
Injection point dependency for AsyncImpl(ServiceRegistry services, AsyncConfig config), parameter config.
-
-
Constructor Details
-
AsyncImpl__ServiceDescriptor
protected AsyncImpl__ServiceDescriptor()Constructor with no side effects
-
-
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
-
scope
Description copied from interface:ServiceDescriptorScope of this service.- Specified by:
scopein interfaceServiceDescriptor<T extends io.helidon.faulttolerance.AsyncImpl>- Specified by:
scopein interfaceServiceInfo- Returns:
- scope of the service
-
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
-
typeSet
Description copied from interface:ServiceDescriptorProvide a mapping of a contracts of this service to its contract type set. If the result is empty, it will be ignored.- Specified by:
typeSetin interfaceServiceDescriptor<T extends io.helidon.faulttolerance.AsyncImpl>- Parameters:
contract- contract to get types for- Returns:
- type map for each type that is a contract of this service
-
qualifiers
Description copied from interface:ServiceInfoService qualifiers.- Specified by:
qualifiersin interfaceServiceInfo- Returns:
- qualifiers
-
dependencies
Description copied from interface:ServiceInfoList of dependencies required by this service. These may be injection points as constructor parameters, fields, or setter methods.- Specified by:
dependenciesin interfaceServiceInfo- Returns:
- required dependencies
-
instantiate
public io.helidon.faulttolerance.AsyncImpl instantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject) Description copied from interface:ServiceDescriptorCreate a new service instance.- Specified by:
instantiatein interfaceServiceDescriptor<T extends io.helidon.faulttolerance.AsyncImpl>- Parameters:
ctx__helidonInject- dependency context with all dependencies of this serviceinterceptMeta__helidonInject- metadata handler for interception- Returns:
- a new instance, must be of the type T or a subclass
-
createFor
Description copied from interface:GeneratedService.PerInstanceDescriptorService instances may be created for instances of another service. If a type is created for another type, it inherits ALL qualifiers of the type that it is based on.- Specified by:
createForin interfaceGeneratedService.PerInstanceDescriptor- Returns:
- create for service type
-