com.yelstream.topp.execution.inject.spi.util.CustomContextExtension Maven / Gradle / Ivy
package com.yelstream.topp.execution.inject.spi.util;
import jakarta.enterprise.event.Observes;
import jakarta.enterprise.inject.spi.AfterBeanDiscovery;
import jakarta.enterprise.inject.spi.BeanManager;
import jakarta.enterprise.inject.spi.Extension;
public class CustomContextExtension implements Extension {
void afterBeanDiscovery(@Observes AfterBeanDiscovery abd, BeanManager beanManager) {
abd.addContext(new CustomContext());
}
}