java.lang.Object
io.helidon.pico.api.AbstractBootstrap
- All Implemented Interfaces:
Bootstrap
- Direct Known Subclasses:
DefaultBootstrap
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractBootstrap
extends Object
implements Bootstrap
Abstract implementation w/ builder for
Bootstrap.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractBootstrap.Builder<B extends AbstractBootstrap.Builder<B,T>, T extends Bootstrap> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.config()Provides the base primordial bootstrap configuration to thePicoServicesProvider.booleaninthashCode()In certain conditions Pico services should be initialized but not started (i.e., avoiding calls toPostConstructetc.).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.Bootstrap, calling theAttributeVisitorfor each.
-
Constructor Details
-
AbstractBootstrap
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
config
Description copied from interface:BootstrapProvides the base primordial bootstrap configuration to thePicoServicesProvider. The provider will then bootstrapPicoServicesusing this bootstrap instance. then default values will be used accordingly. -
limitRuntimePhase
Description copied from interface:BootstrapIn certain conditions Pico services should be initialized but not started (i.e., avoiding calls toPostConstructetc.). This can be used in special cases where the normal Pico startup should limit lifecycle up to a given phase. Normally one should not use this feature - it is mainly used in Pico tooling (e.g., the pico-maven-plugin).- Specified by:
limitRuntimePhasein interfaceBootstrap- Returns:
- the phase to stop at during lifecycle
-
__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.Bootstrap, 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
-