Package org.jboss.weld.bootstrap

Examples of org.jboss.weld.bootstrap.BeanDeployment


    public static BeanDeployment getOrCreateBeanDeployment(Deployment deployment, BeanManagerImpl deploymentManager, BeanDeploymentArchiveMapping bdaMapping, Collection<ContextHolder<? extends Context>> contexts, Class<?> clazz) {
        BeanDeploymentArchive beanDeploymentArchive = deployment.loadBeanDeploymentArchive(clazz);
        if (beanDeploymentArchive == null) {
            throw UtilLogger.LOG.unableToFindBeanDeploymentArchive(clazz);
        } else {
            BeanDeployment beanDeployment = bdaMapping.getBeanDeployment(beanDeploymentArchive);
            if (beanDeployment == null) {
                beanDeployment = new BeanDeployment(beanDeploymentArchive, deploymentManager, deployment.getServices(), contexts, true);
                bdaMapping.put(beanDeploymentArchive, beanDeployment);
            }
            return beanDeployment;
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.weld.bootstrap.BeanDeployment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.