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.SimpleBuildItem
Context 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.ContextConfiguratorBuildItem
or at least inject aBuildProducer
for 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 class
ContextRegistrationPhaseBuildItem.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) BeanProcessor
getBeanProcessor()
ContextRegistrar.RegistrationContext
getContext()
-
-
-
Constructor Detail
-
ContextRegistrationPhaseBuildItem
public ContextRegistrationPhaseBuildItem(ContextRegistrar.RegistrationContext context, BeanProcessor beanProcessor)
-
-
Method Detail
-
getContext
public ContextRegistrar.RegistrationContext getContext()
-
getBeanProcessor
BeanProcessor getBeanProcessor()
-
-