package com.armundia.core.startup;

import javax.enterprise.event.Observes;
import javax.enterprise.inject.spi.AfterDeploymentValidation;
import javax.enterprise.inject.spi.BeanManager;
import javax.enterprise.inject.spi.CDI;

public class StartupExtension implements javax.enterprise.inject.spi.Extension {
    void afterDeploymentValidation(@Observes AfterDeploymentValidation event, BeanManager beanManager) throws NoSuchMethodException, SecurityException {
		CDI.current().select(ApplicationStartup.class).get();
    }
}
