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 and Description
    `BootOnLoadExtension()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BootOnLoadExtension

          public BootOnLoadExtension()

  - ### Method Detail

    - #### processBean

          public <X> void processBean(@Observes
                                      javax.enterprise.inject.spi.ProcessBean<X> event)

    - #### afterDeploymentValidation

          public void afterDeploymentValidation(@Observes
                                                javax.enterprise.inject.spi.AfterDeploymentValidation event,
                                                javax.enterprise.inject.spi.BeanManager manager)

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.