- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
InjectionServicesConfig.BuilderBase.InjectionServicesConfigImpl
Deprecated.
Helidon inject is deprecated and will be replaced in a future version
This is the configuration that the Injection service provider uses internally.
If left as-is a default configuration instance will be used with default values provided herein. Callers can
optionally configure values by providing a BootstrapBlueprint.config() prior to Injection startup. The configuration provided
will be used, and tunable configuration must be located under the key inject within the provided configuration
element.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.Fluent API builder forInjectionServicesConfig.static classInjectionServicesConfig.BuilderBase<BUILDER extends InjectionServicesConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends InjectionServicesConfig> Deprecated.Fluent API builder base forInjectionServicesConfig. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The deadlock detection timeout in millis.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether activation logs are captured, recorded, and retained.builder()Deprecated.Create a new fluent API builder to customize configuration.builder(InjectionServicesConfig instance) Deprecated.Create a new fluent API builder from an existing instance.static InjectionServicesConfigcreate()Deprecated.Create a new instance with default values.static InjectionServicesConfigDeprecated.Create a new instance from configuration.debug()Deprecated, for removal: This API element is subject to removal in a future version.Whether debug is enabled.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the services registry permits dynamic behavior.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether reflection is permitted.Deprecated, for removal: This API element is subject to removal in a future version.The provider implementation name.Deprecated, for removal: This API element is subject to removal in a future version.The provider implementation version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether service lookups (i.e., viaServices.lookup(java.lang.Class<T>)) are cached.default booleanDeprecated, for removal: This API element is subject to removal in a future version.Uses configureddebug(), or attempts to discover if debug should be used if not configured.Deprecated, for removal: This API element is subject to removal in a future version.Shutdown timeout.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the dependency injection model for theApplicationandActivatoris capable for being produced at compile-time, and therefore used/loaded during runtime operations.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether contextual lookup is supported viaServices.contextualServices(InjectionPointInfo).booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the services registry supports dynamic behavior.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 is supported by the provider implementation.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 is supported by the provider implementation for the use on private injection points.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 is supported by the provider implementation for the use on static injection points.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the reflection is supported.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether compile-time generatedApplication's should be used at Injection's startup initialization.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether compile-time generatedModuleComponent's should be used at Injection's startup initialization.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 specification will be used and enforced.
-
Method Details
-
builder
Deprecated.Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Deprecated.Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance with default values.- Returns:
- a new instance
-
providerName
Deprecated, for removal: This API element is subject to removal in a future version.The provider implementation name.- Returns:
- the provider implementation name
-
providerVersion
Deprecated, for removal: This API element is subject to removal in a future version.The provider implementation version.- Returns:
- the provider implementation version
-
activationDeadlockDetectionTimeout
Duration activationDeadlockDetectionTimeout()Deprecated, for removal: This API element is subject to removal in a future version.The deadlock detection timeout in millis.- Returns:
- the deadlock detection timeout
-
shutdownTimeout
Duration shutdownTimeout()Deprecated, for removal: This API element is subject to removal in a future version.Shutdown timeout.- Returns:
- shutdown timeout
-
activationLogs
boolean activationLogs()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether activation logs are captured, recorded, and retained.- Returns:
- the flag indicating whether activation logs are captured and retained
-
serviceLookupCaching
boolean serviceLookupCaching()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether service lookups (i.e., viaServices.lookup(java.lang.Class<T>)) are cached.- Returns:
- the flag indicating whether service lookups are cached
-
permitsDynamic
boolean permitsDynamic()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the services registry permits dynamic behavior. The default implementation of Injection supports dynamic (seesupportsDynamic()), but does not permit it by default.- Returns:
- the flag indicating whether the services registry supports dynamic updates of the service registry
-
supportsDynamic
boolean supportsDynamic()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the services registry supports dynamic behavior. Note that if the provider does not support this flag then permitting it viapermitsDynamic()will have no affect. The default implementation of Injection supports dynamic, but does not permit it by default.- Returns:
- the flag indicating whether the services registry supports dynamic updates of the service registry post startup
-
permitsReflection
boolean permitsReflection()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether reflection is permitted. The default implementation of Injection supports reflection at compile-time only, and is not controlled by this flag directly.- Returns:
- the flag indicating whether the provider is permitted to use reflection for normal runtime usage
-
supportsReflection
boolean supportsReflection()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the reflection is supported. Note that if the provider does not support this flag then permitting it viapermitsReflection()will have no affect. The default implementation of Injection supports reflection only during compile-time operations using the Injection maven-plugin.- Returns:
- the flag indicating whether reflection is supported during runtime operations
-
usesCompileTimeApplications
boolean usesCompileTimeApplications()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether compile-time generatedApplication's should be used at Injection's startup initialization. Setting this value to false will have no affect if the underlying provider does not support compile-time generation viasupportsCompileTime().- Returns:
- the flag indicating whether the provider is permitted to use Application generated code from compile-time
- See Also:
-
usesCompileTimeModules
boolean usesCompileTimeModules()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether compile-time generatedModuleComponent's should be used at Injection's startup initialization. Setting this value to false will have no affect if the underlying provider does not support compile-time generation viasupportsCompileTime().- Returns:
- the flag indicating whether the provider is permitted to use Application generated code from compile-time
- See Also:
-
supportsCompileTime
boolean supportsCompileTime()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether the dependency injection model for theApplicationandActivatoris capable for being produced at compile-time, and therefore used/loaded during runtime operations.- Returns:
- the flag indicating whether the provider supports compile-time code generation of DI artifacts
-
usesJsr330
boolean usesJsr330()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 specification will be used and enforced.- Returns:
- the flag indicating whether strict jsr330 specification will be enforced
-
supportsJsr330
boolean supportsJsr330()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 is supported by the provider implementation.- Returns:
- the flag indicating whether the provider supports the jsr330 specification
-
supportsJsr330Statics
boolean supportsJsr330Statics()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 is supported by the provider implementation for the use on static injection points.- Returns:
- the flag indicating whether the provider supports the jsr330 specification for the use of static injection points
-
supportsJsr330Privates
boolean supportsJsr330Privates()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether jsr330 is supported by the provider implementation for the use on private injection points.- Returns:
- the flag indicating whether the provider supports the jsr330 specification for the use of private injection points
-
supportsContextualLookup
boolean supportsContextualLookup()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether contextual lookup is supported viaServices.contextualServices(InjectionPointInfo).- Returns:
- the flag indicating whether the provider supports contextual lookup
-
debug
Deprecated, for removal: This API element is subject to removal in a future version.Whether debug is enabled. Defaults to false, can be overridden using system propertyInjectionServices.TAG_DEBUG.- Returns:
- if debug should be enabled
-
shouldDebug
default boolean shouldDebug()Deprecated, for removal: This API element is subject to removal in a future version.Uses configureddebug(), or attempts to discover if debug should be used if not configured.- Returns:
- whether to debug
-