All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy