java.lang.Object
io.helidon.pico.api.PicoServicesConfig
io.helidon.pico.api.AbstractPicoServicesConfig
- Direct Known Subclasses:
DefaultPicoServicesConfig
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractPicoServicesConfig
extends PicoServicesConfig
Abstract implementation w/ builder for
PicoServicesConfig.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractPicoServicesConfig.Builder<B extends AbstractPicoServicesConfig.Builder<B,T>, T extends PicoServicesConfig> Fluent API builder forT. -
Field Summary
Fields inherited from class io.helidon.pico.api.PicoServicesConfig
DEFAULT_ACTIVATION_DEADLOCK_TIMEOUT_IN_MILLIS, DEFAULT_ACTIVATION_LOGS, DEFAULT_PERMITS_DYNAMIC, DEFAULT_PERMITS_REFLECTION, DEFAULT_SERVICE_LOOKUP_CACHING, DEFAULT_SUPPORTS_COMPILE_TIME, DEFAULT_SUPPORTS_CONTEXTUAL_LOOKUP, DEFAULT_SUPPORTS_DYNAMIC, DEFAULT_SUPPORTS_JSR330, DEFAULT_SUPPORTS_JSR330_PRIVATES, DEFAULT_SUPPORTS_JSR330_STATICS, DEFAULT_SUPPORTS_REFLECTION, DEFAULT_USES_COMPILE_TIME_APPLICATIONS, DEFAULT_USES_COMPILE_TIME_MODULES, DEFAULT_USES_JSR330, FQN, KEY_ACTIVATION_DEADLOCK_TIMEOUT_IN_MILLIS, KEY_ACTIVATION_LOGS, KEY_PERMITS_DYNAMIC, KEY_PERMITS_REFLECTION, KEY_PROVIDER_NAME, KEY_PROVIDER_VERSION, KEY_SERVICE_LOOKUP_CACHING, KEY_SUPPORTS_COMPILE_TIME, KEY_SUPPORTS_CONTEXTUAL_LOOKUP, KEY_SUPPORTS_DYNAMIC, KEY_SUPPORTS_JSR330, KEY_SUPPORTS_JSR330_PRIVATES, KEY_SUPPORTS_JSR330_STATICS, KEY_SUPPORTS_REFLECTION, KEY_USES_COMPILE_TIME_APPLICATIONS, KEY_USES_COMPILE_TIME_MODULES, KEY_USES_JSR330, NAME, TAG_DEBUG, TAG_MODULE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.booleaninthashCode()The provider implementation name.The provider implementation version.booleanFlag indicating whether the dependency injection model for theApplicationandActivatoris capable for being produced at compile-time, and therefore used/loaded during runtime operations.booleanFlag indicating whether contextual lookup is supported viaServices.contextualServices(InjectionPointInfo).booleanFlag indicating whether the services registry supports dynamic behavior (key isPicoServicesConfig.KEY_SUPPORTS_DYNAMIC).booleanFlag indicating whether jsr330 is supported by the provider implementation.booleanFlag indicating whether jsr330 is supported by the provider implementation for the use on private injection points.booleanFlag indicating whether jsr330 is supported by the provider implementation for the use on static injection points.booleanFlag indicating whether the reflection is supported.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.PicoServicesConfig, calling theAttributeVisitorfor each.Methods inherited from class io.helidon.pico.api.PicoServicesConfig
activationDeadlockDetectionTimeoutMillis, activationLogs, permitsDynamic, permitsReflection, serviceLookupCaching, usesCompileTimeApplications, usesCompileTimeModules, usesJsr330
-
Constructor Details
-
AbstractPicoServicesConfig
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
providerName
Description copied from class:PicoServicesConfigThe provider implementation name.- Specified by:
providerNamein classPicoServicesConfig- Returns:
- the provider implementation name
-
providerVersion
Description copied from class:PicoServicesConfigThe provider implementation version.- Specified by:
providerVersionin classPicoServicesConfig- Returns:
- the provider implementation version
-
supportsDynamic
public boolean supportsDynamic()Description copied from class:PicoServicesConfigFlag indicating whether the services registry supports dynamic behavior (key isPicoServicesConfig.KEY_SUPPORTS_DYNAMIC). Note that if the provider does not support this flag then permitting it viaPicoServicesConfig.permitsDynamic()will have no affect. The default implementation of Pico supports dynamic, but does not permit it by default.- Specified by:
supportsDynamicin classPicoServicesConfig- Returns:
- the flag indicating whether the services registry supports dynamic updates of the service registry post Pico startup
-
supportsReflection
public boolean supportsReflection()Description copied from class:PicoServicesConfigFlag indicating whether the reflection is supported. Note that if the provider does not support this flag then permitting it viaPicoServicesConfig.permitsReflection()will have no affect. The default implementation of Pico supports reflection only during compile-time operations using the Pico maven-plugin.- Specified by:
supportsReflectionin classPicoServicesConfig- Returns:
- the flag indicating whether reflection is supported during runtime operations
-
supportsCompileTime
public boolean supportsCompileTime()Description copied from class:PicoServicesConfigFlag indicating whether the dependency injection model for theApplicationandActivatoris capable for being produced at compile-time, and therefore used/loaded during runtime operations.- Specified by:
supportsCompileTimein classPicoServicesConfig- Returns:
- the flag indicating whether the provider supports compile-time code generation of DI artifacts
-
supportsJsr330
public boolean supportsJsr330()Description copied from class:PicoServicesConfigFlag indicating whether jsr330 is supported by the provider implementation.- Specified by:
supportsJsr330in classPicoServicesConfig- Returns:
- the flag indicating whether the provider supports the jsr330 specification
-
supportsJsr330Statics
public boolean supportsJsr330Statics()Description copied from class:PicoServicesConfigFlag indicating whether jsr330 is supported by the provider implementation for the use on static injection points.- Specified by:
supportsJsr330Staticsin classPicoServicesConfig- Returns:
- the flag indicating whether the provider supports the jsr330 specification for the use of static injection points
-
supportsJsr330Privates
public boolean supportsJsr330Privates()Description copied from class:PicoServicesConfigFlag indicating whether jsr330 is supported by the provider implementation for the use on private injection points.- Specified by:
supportsJsr330Privatesin classPicoServicesConfig- Returns:
- the flag indicating whether the provider supports the jsr330 specification for the use of private injection points
-
supportsContextualLookup
public boolean supportsContextualLookup()Description copied from class:PicoServicesConfigFlag indicating whether contextual lookup is supported viaServices.contextualServices(InjectionPointInfo).- Specified by:
supportsContextualLookupin classPicoServicesConfig- Returns:
- the flag indicating whether the provider supports contextual lookup
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.PicoServicesConfig, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-