templates.pipeline.cdi.context.impl.vm Maven / Gradle / Ivy
package ${basePackage}.cdi;
import java.util.List;
import jakarta.enterprise.inject.spi.Extension;
import com.boozallen.aissemble.core.metadata.producer.MetadataProducer;
/**
* Configures the CDI context for this application.
*
* Please **DO** modify with your customizations, as appropriate.
*
* Originally generated from: ${templateName}
*/
public class PipelinesCdiContext extends PipelinesCdiContextBase {
/**
* {@inheritDoc}
*/
@Override
public List> getCdiClasses() {
List> customBeans = super.getCdiClasses();
// Add any custom CDI classes here
customBeans.add(MetadataProducer.class);
return customBeans;
}
/**
* {@inheritDoc}
*/
@Override
public List getExtensions() {
List extensions = super.getExtensions();
// Add any custom extensions to Weld here
return extensions;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy