Module io.helidon.webclient.api
Package io.helidon.webclient.api
Class LoomClient$$Injection$$Activator
java.lang.Object
io.helidon.inject.runtime.AbstractServiceProvider<io.helidon.webclient.api.LoomClient>
io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.webclient.api.LoomClient,WebClientConfig>
io.helidon.webclient.api.LoomClient$$Injection$$Activator
- All Implemented Interfaces:
Weighted,io.helidon.inject.api.ActivationPhaseReceiver,io.helidon.inject.api.Activator,io.helidon.inject.api.DeActivator,io.helidon.inject.api.InjectionPointProvider<io.helidon.webclient.api.LoomClient>,io.helidon.inject.api.Resettable,io.helidon.inject.api.ServiceProvider<io.helidon.webclient.api.LoomClient>,io.helidon.inject.api.ServiceProviderBindable<io.helidon.webclient.api.LoomClient>,io.helidon.inject.api.ServiceProviderProvider,io.helidon.inject.configdriven.api.ConfigBeanFactory<WebClientConfig>,io.helidon.inject.configdriven.runtime.ConfiguredServiceProvider<io.helidon.webclient.api.LoomClient,,WebClientConfig> io.helidon.inject.spi.InjectionResolver,Provider<io.helidon.webclient.api.LoomClient>,Comparable<Weighted>
@RunLevel(100)
public class LoomClient$$Injection$$Activator
extends io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.webclient.api.LoomClient,WebClientConfig>
Activator for
LoomClient.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.inject.runtime.AbstractServiceProvider
io.helidon.inject.runtime.AbstractServiceProvider.LogEntryAndResult -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoomClient$$Injection$$ActivatorThe global singleton instance for this service provider activator.Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault activator constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the config bean associated with this managed service provider.Type of config bean.List<io.helidon.inject.configdriven.api.NamedInstance<WebClientConfig>> createConfigBeans(Config config) Create instances from configuration.protected io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.webclient.api.LoomClient, WebClientConfig> createInstance(io.helidon.inject.configdriven.api.NamedInstance<WebClientConfig> configBean) Creates a new instance of this type of configured service provider, along with the configuration bean associated with the service.protected io.helidon.webclient.api.LoomClientcreateServiceProvider(Map<String, Object> deps) Creates the service with the supplied resolved dependencies, key'ed by each injection point id.io.helidon.inject.api.DependenciesInfoProvides the dependencies for this service provider if known, or null if not known or not available.protected booleanReturn true if this service is driven to activation during startup (and provided it has some config).booleanDoes the service provide singletons, does it always produce the same result for every call toInjectionPointProvider.get().Class<?> The service type of the managed service.Methods inherited from class io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase
assertIsRootProvider, createRepeatableBeans, doConstructing, doDestroying, doPreDestroying, first, identitySuffix, injectionServices, instanceId, isRootProvider, list, logger, managedServiceProviders, onFinalShutdown, onPhaseEvent, registerConfigBean, reset, resolve, rootProvider, rootProvider, serviceInfo, serviceProviderBindable, serviceProvidersMethods inherited from class io.helidon.inject.runtime.AbstractServiceProvider
activate, activationLog, activator, createLogEntryAndResult, currentActivationPhase, deactivate, deActivator, dependencies, description, doInjectingFields, doInjectingMethods, doPostConstructing, equals, expectedQualifiedServiceError, get, get, getOrCreateInjectionPlan, hashCode, id, identityPrefix, injectionPlanBinder, injectionServices, interceptor, interceptor, isAlreadyAtTargetPhase, isCustom, isInterceptor, maybeActivate, moduleName, name, onFailedFinish, onFinished, postConstructMethod, preDestroyMethod, serviceInfo, serviceRef, serviceTypeInjectionOrder, startTransitionCurrentActivationPhase, toAbstractServiceProvider, toString, weightMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.inject.api.InjectionPointProvider
getMethods inherited from interface io.helidon.inject.api.ServiceProvider
activator, currentActivationPhase, deActivator, description, id, postConstructMethod, preDestroyMethod, serviceInfoMethods inherited from interface io.helidon.inject.api.ServiceProviderBindable
isIntercepted
-
Field Details
-
INSTANCE
The global singleton instance for this service provider activator.
-
-
Constructor Details
-
LoomClient$$Injection$$Activator
protected LoomClient$$Injection$$Activator()Default activator constructor.
-
-
Method Details
-
serviceType
The service type of the managed service.- Returns:
- the service type of the managed service
-
createConfigBeans
public List<io.helidon.inject.configdriven.api.NamedInstance<WebClientConfig>> createConfigBeans(Config config) Description copied from interface:io.helidon.inject.configdriven.api.ConfigBeanFactoryCreate instances from configuration.- Parameters:
config- configuration to use (root configuration instance)- Returns:
- list of config bean instances
-
configBeanType
Description copied from interface:io.helidon.inject.configdriven.api.ConfigBeanFactoryType of config bean.- Returns:
- bean type
-
createInstance
protected io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.webclient.api.LoomClient,WebClientConfig> createInstance(io.helidon.inject.configdriven.api.NamedInstance<WebClientConfig> configBean) Description copied from class:io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBaseCreates a new instance of this type of configured service provider, along with the configuration bean associated with the service.- Specified by:
createInstancein classio.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.webclient.api.LoomClient,WebClientConfig> - Parameters:
configBean- the config bean- Returns:
- the created instance injected with the provided config bean
-
drivesActivation
protected boolean drivesActivation()Description copied from class:io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBaseReturn true if this service is driven to activation during startup (and provided it has some config). SeeConfigDriven.activateByDefault().- Specified by:
drivesActivationin classio.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.webclient.api.LoomClient,WebClientConfig> - Returns:
- true if this service is driven to activation during startup
-
configBean
Description copied from interface:io.helidon.inject.configdriven.runtime.ConfiguredServiceProviderReturns the config bean associated with this managed service provider.- Returns:
- the config bean associated with this managed service provider
-
isProvider
public boolean isProvider()Description copied from interface:io.helidon.inject.api.ServiceProviderDoes the service provide singletons, does it always produce the same result for every call toInjectionPointProvider.get(). I.e., if the managed service implements Provider orInjectionPointProviderthen this typically is considered not a singleton provider. I.e., If the managed services is NOTSingleton, then it will be treated as per request / dependent scope. Note that this is similar in nature to RequestScope, except the "official" request scope is bound to the web request. Here, we are speaking about contextually any caller asking for a new instance of the service in question. The requester in question will ideally be able to identify itself to this provider viaInjectionPointProvider.first(ContextualServiceQuery)so that this provider can properly service the "provide" request.- Specified by:
isProviderin interfaceio.helidon.inject.api.ServiceProvider<io.helidon.webclient.api.LoomClient>- Overrides:
isProviderin classio.helidon.inject.runtime.AbstractServiceProvider<io.helidon.webclient.api.LoomClient>- Returns:
- true if the service provider provides per-request instances for each caller
-
dependencies
public io.helidon.inject.api.DependenciesInfo dependencies()Description copied from interface:io.helidon.inject.api.ServiceProviderProvides the dependencies for this service provider if known, or null if not known or not available.- Specified by:
dependenciesin interfaceio.helidon.inject.api.ServiceProvider<io.helidon.webclient.api.LoomClient>- Overrides:
dependenciesin classio.helidon.inject.runtime.AbstractServiceProvider<io.helidon.webclient.api.LoomClient>- Returns:
- the dependencies this service provider has or null if unknown or unavailable
-
createServiceProvider
Description copied from class:io.helidon.inject.runtime.AbstractServiceProviderCreates the service with the supplied resolved dependencies, key'ed by each injection point id.- Overrides:
createServiceProviderin classio.helidon.inject.runtime.AbstractServiceProvider<io.helidon.webclient.api.LoomClient>- Parameters:
deps- the resolved dependencies- Returns:
- the newly created managed service
-