Module io.helidon.faulttolerance
Package io.helidon.faulttolerance
Class CircuitBreakerImpl$$Injection$$Activator
java.lang.Object
io.helidon.inject.runtime.AbstractServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.faulttolerance.CircuitBreakerImpl,CircuitBreakerConfig>
io.helidon.faulttolerance.CircuitBreakerImpl$$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.faulttolerance.CircuitBreakerImpl>
,io.helidon.inject.api.Resettable
,io.helidon.inject.api.ServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
,io.helidon.inject.api.ServiceProviderBindable<io.helidon.faulttolerance.CircuitBreakerImpl>
,io.helidon.inject.api.ServiceProviderProvider
,io.helidon.inject.configdriven.api.ConfigBeanFactory<CircuitBreakerConfig>
,io.helidon.inject.configdriven.runtime.ConfiguredServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl,
,CircuitBreakerConfig> io.helidon.inject.spi.InjectionResolver
,Provider<io.helidon.faulttolerance.CircuitBreakerImpl>
,Comparable<Weighted>
@RunLevel(100)
public class CircuitBreakerImpl$$Injection$$Activator
extends io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.faulttolerance.CircuitBreakerImpl,CircuitBreakerConfig>
Activator for
CircuitBreakerImpl
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.inject.runtime.AbstractServiceProvider
io.helidon.inject.runtime.AbstractServiceProvider.LogEntryAndResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CircuitBreakerImpl$$Injection$$Activator
The global singleton instance for this service provider activator.Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default 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<CircuitBreakerConfig>> createConfigBeans
(Config config) Create instances from configuration.protected io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase
<io.helidon.faulttolerance.CircuitBreakerImpl, CircuitBreakerConfig> createInstance
(io.helidon.inject.configdriven.api.NamedInstance<CircuitBreakerConfig> configBean) Creates a new instance of this type of configured service provider, along with the configuration bean associated with the service.protected io.helidon.faulttolerance.CircuitBreakerImpl
createServiceProvider
(Map<String, Object> deps) Creates the service with the supplied resolved dependencies, key'ed by each injection point id.io.helidon.inject.api.DependenciesInfo
Provides the dependencies for this service provider if known, or null if not known or not available.protected boolean
Return true if this service is driven to activation during startup (and provided it has some config).boolean
Does 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, serviceProviders
Methods 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, weight
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.inject.api.InjectionPointProvider
get
Methods inherited from interface io.helidon.inject.api.ServiceProvider
activator, currentActivationPhase, deActivator, description, id, postConstructMethod, preDestroyMethod, serviceInfo
Methods inherited from interface io.helidon.inject.api.ServiceProviderBindable
isIntercepted
-
Field Details
-
INSTANCE
The global singleton instance for this service provider activator.
-
-
Constructor Details
-
CircuitBreakerImpl$$Injection$$Activator
protected CircuitBreakerImpl$$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<CircuitBreakerConfig>> createConfigBeans(Config config) Description copied from interface:io.helidon.inject.configdriven.api.ConfigBeanFactory
Create 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.ConfigBeanFactory
Type of config bean.- Returns:
- bean type
-
createInstance
protected io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.faulttolerance.CircuitBreakerImpl,CircuitBreakerConfig> createInstance(io.helidon.inject.configdriven.api.NamedInstance<CircuitBreakerConfig> configBean) Description copied from class:io.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase
Creates a new instance of this type of configured service provider, along with the configuration bean associated with the service.- Specified by:
createInstance
in classio.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.faulttolerance.CircuitBreakerImpl,
CircuitBreakerConfig> - 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.ConfigDrivenServiceProviderBase
Return true if this service is driven to activation during startup (and provided it has some config). SeeConfigDriven.activateByDefault()
.- Specified by:
drivesActivation
in classio.helidon.inject.configdriven.runtime.ConfigDrivenServiceProviderBase<io.helidon.faulttolerance.CircuitBreakerImpl,
CircuitBreakerConfig> - Returns:
- true if this service is driven to activation during startup
-
configBean
Description copied from interface:io.helidon.inject.configdriven.runtime.ConfiguredServiceProvider
Returns 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.ServiceProvider
Does the service provide singletons, does it always produce the same result for every call toInjectionPointProvider.get()
. I.e., if the managed service implements Provider orInjectionPointProvider
then 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:
isProvider
in interfaceio.helidon.inject.api.ServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
- Overrides:
isProvider
in classio.helidon.inject.runtime.AbstractServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
- 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.ServiceProvider
Provides the dependencies for this service provider if known, or null if not known or not available.- Specified by:
dependencies
in interfaceio.helidon.inject.api.ServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
- Overrides:
dependencies
in classio.helidon.inject.runtime.AbstractServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
- Returns:
- the dependencies this service provider has or null if unknown or unavailable
-
createServiceProvider
protected io.helidon.faulttolerance.CircuitBreakerImpl createServiceProvider(Map<String, Object> deps) Description copied from class:io.helidon.inject.runtime.AbstractServiceProvider
Creates the service with the supplied resolved dependencies, key'ed by each injection point id.- Overrides:
createServiceProvider
in classio.helidon.inject.runtime.AbstractServiceProvider<io.helidon.faulttolerance.CircuitBreakerImpl>
- Parameters:
deps
- the resolved dependencies- Returns:
- the newly created managed service
-