Examples of Contextual


Examples of javax.enterprise.context.spi.Contextual

    if (valueList == null || beanList == null)
      return;

    for (int i = beanList.size() - 1; i >= 0; i--) {
      Contextual bean = beanList.get(i);
      WeakReference<Object> ref = valueList.get(i);
      Object value = null;
     
      if (ref != null) {
        value = ref.get();

        if (value != null)
          bean.destroy(value, null);
      }
    }
  }
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.