Class SmallryeContextCdiExtension

java.lang.Object
io.smallrye.context.inject.SmallryeContextCdiExtension
All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension

public class SmallryeContextCdiExtension extends Object implements jakarta.enterprise.inject.spi.Extension
CDI extension that takes care of injectable ThreadContext and ManagedExecutor instances. Also takes into consideration MP Config which may be used to override injection point configuration.
Author:
Matej Novotny
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterBeanDiscovery(jakarta.enterprise.inject.spi.AfterBeanDiscovery abd)
     
    void
    cleanup(jakarta.enterprise.inject.spi.AfterDeploymentValidation adv)
     
    void
    init(jakarta.enterprise.inject.spi.BeforeBeanDiscovery bbd)
     
    void
    processInjectionPointME(jakarta.enterprise.inject.spi.ProcessInjectionPoint<?,org.eclipse.microprofile.context.ManagedExecutor> pip)
     
    void
    processInjectionPointTC(jakarta.enterprise.inject.spi.ProcessInjectionPoint<?,org.eclipse.microprofile.context.ThreadContext> pip)
     
    void
    processMEProducers(jakarta.enterprise.inject.spi.ProcessProducer<?,org.eclipse.microprofile.context.ManagedExecutor> processProducer)
     
    void
    processThreadContextProducers(jakarta.enterprise.inject.spi.ProcessProducer<?,org.eclipse.microprofile.context.ThreadContext> processProducer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SmallryeContextCdiExtension

      public SmallryeContextCdiExtension()
  • Method Details

    • init

      public void init(@Observes jakarta.enterprise.inject.spi.BeforeBeanDiscovery bbd)
    • processInjectionPointME

      public void processInjectionPointME(@Observes jakarta.enterprise.inject.spi.ProcessInjectionPoint<?,org.eclipse.microprofile.context.ManagedExecutor> pip)
    • processInjectionPointTC

      public void processInjectionPointTC(@Observes jakarta.enterprise.inject.spi.ProcessInjectionPoint<?,org.eclipse.microprofile.context.ThreadContext> pip)
    • afterBeanDiscovery

      public void afterBeanDiscovery(@Observes jakarta.enterprise.inject.spi.AfterBeanDiscovery abd)
    • processThreadContextProducers

      public void processThreadContextProducers(@Observes jakarta.enterprise.inject.spi.ProcessProducer<?,org.eclipse.microprofile.context.ThreadContext> processProducer)
    • processMEProducers

      public void processMEProducers(@Observes jakarta.enterprise.inject.spi.ProcessProducer<?,org.eclipse.microprofile.context.ManagedExecutor> processProducer)
    • cleanup

      public void cleanup(@Observes jakarta.enterprise.inject.spi.AfterDeploymentValidation adv)