Package io.quarkus.arc.deployment
Class ContextRegistrationPhaseBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.SimpleBuildItem
-
- io.quarkus.arc.deployment.ContextRegistrationPhaseBuildItem
-
public final class ContextRegistrationPhaseBuildItem extends io.quarkus.builder.item.SimpleBuildItemContext registration phase can be used to register custom CDI contexts.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.ContextConfiguratorBuildItemor at least inject aBuildProducerfor this build item, otherwise it could be ignored or processed at the wrong time, e.g. afterArcProcessor#registerBeans(ContextRegistrationPhaseBuildItem, List).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContextRegistrationPhaseBuildItem.ContextConfiguratorBuildItem
-
Constructor Summary
Constructors Constructor Description ContextRegistrationPhaseBuildItem(ContextRegistrar.RegistrationContext context, BeanProcessor beanProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) BeanProcessorgetBeanProcessor()ContextRegistrar.RegistrationContextgetContext()
-
-
-
Constructor Detail
-
ContextRegistrationPhaseBuildItem
public ContextRegistrationPhaseBuildItem(ContextRegistrar.RegistrationContext context, BeanProcessor beanProcessor)
-
-
Method Detail
-
getContext
public ContextRegistrar.RegistrationContext getContext()
-
getBeanProcessor
BeanProcessor getBeanProcessor()
-
-