Uses of Interface
io.avaje.inject.BeanScope
Package
Description
Avaje Inject API - see
BeanScope
.Building bean scope objects expected to only be used by generated code.
-
Uses of BeanScope in io.avaje.inject
Modifier and TypeMethodDescriptionUse the given BeanScope as the parent.Use the given BeanScope as the parent additionally specifying if beans added will effectively override beans that exist in the parent scope.Modifier and TypeMethodDescriptionBeanScopeBuilder.addPostConstruct
(Consumer<BeanScope> postConstructHook) Adds hook that will execute after this scope is built. -
Uses of BeanScope in io.avaje.inject.spi
Modifier and TypeMethodDescriptionBuilder.build
(boolean withShutdownHook, long start) Build and return the bean scope.Modifier and TypeMethodDescriptionstatic Builder
Builder.newBuilder
(Set<String> profiles, PropertyRequiresPlugin plugin, List<SuppliedBean> suppliedBeans, List<EnrichBean> enrichBeans, BeanScope parent, boolean parentOverride) Create the root level Builder.Modifier and TypeMethodDescriptionvoid
Builder.addPostConstruct
(Consumer<BeanScope> consumer) Add lifecycle PostConstruct method.