public final class ContextRegistrationPhaseBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
An extension that needs to produce other build items during the "context registration" phase should use this build item. The
build step should produce a ContextRegistrationPhaseBuildItem.ContextConfiguratorBuildItem or at least inject a BuildProducer for this build
item, otherwise it could be ignored or processed at the wrong time, e.g. after
ArcProcessor#registerBeans(ContextRegistrationPhaseBuildItem, List).
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextRegistrationPhaseBuildItem.ContextConfiguratorBuildItem |
| Constructor and Description |
|---|
ContextRegistrationPhaseBuildItem(ContextRegistrar.RegistrationContext context,
BeanProcessor beanProcessor) |
| Modifier and Type | Method and Description |
|---|---|
(package private) BeanProcessor |
getBeanProcessor() |
ContextRegistrar.RegistrationContext |
getContext() |
public ContextRegistrationPhaseBuildItem(ContextRegistrar.RegistrationContext context, BeanProcessor beanProcessor)
public ContextRegistrar.RegistrationContext getContext()
BeanProcessor getBeanProcessor()
Copyright © 2021 JBoss by Red Hat. All rights reserved.