Package org.apache.webbeans.component

Examples of org.apache.webbeans.component.InjectionTargetWrapper.dispose()


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


        {
            final BeanManagerImpl beanManager = WebBeansContext.currentInstance().getBeanManagerImpl();
            final InjectionTargetWrapper wrapper = beanManager.getInjectionTargetWrapper(instance.object.getClass());
            if (wrapper != null)
            {
                wrapper.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.