Package org.kie.internal.runtime.cdi
Class BootOnLoadExtension
- java.lang.Object
-
- org.kie.internal.runtime.cdi.BootOnLoadExtension
-
- All Implemented Interfaces:
javax.enterprise.inject.spi.Extension
public class BootOnLoadExtension extends Object implements javax.enterprise.inject.spi.Extension
CDI extension that is responsible to eagerly bootstrap CDI beans that are annotated with@BootOnLoad
. That mainly means that beans annotated with@BootOnLoad
will be invoked (their)@PostConstruct
method on CDI container initialization. This extension will only take effect on beans marked as:@javax.enterprise.context.ApplicationScoped
@javax.inject.Singleton
-
-
Constructor Summary
Constructors Constructor Description BootOnLoadExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterDeploymentValidation(javax.enterprise.inject.spi.AfterDeploymentValidation event, javax.enterprise.inject.spi.BeanManager manager)
<X> void
processBean(javax.enterprise.inject.spi.ProcessBean<X> event)
-