Package javax.enterprise.inject.spi

Examples of javax.enterprise.inject.spi.Producer.dispose()


        {
            final BeanManagerImpl beanManager = WebBeansContext.currentInstance().getBeanManagerImpl();
            final Producer producer = beanManager.getProducerForJavaEeComponent(instance.object.getClass());
            if (producer != null)
            {
                producer.dispose(instance.object);
            }
            else if (instance.context != null)
            {
                instance.context.release();
            }
View Full Code Here


        {
            final BeanManagerImpl beanManager = WebBeansContext.currentInstance().getBeanManagerImpl();
            final Producer producer = beanManager.getProducerForJavaEeComponent(instance.object.getClass());
            if (producer != null)
            {
                producer.dispose(instance.object);
            }
            else if (instance.context != null)
            {
                instance.context.release();
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.