Package org.omnifaces.cdi

Examples of org.omnifaces.cdi.Eager.requestURI()


        applicationScopedBeans.add(bean);
      } else if (getAnnotation(beanManager, annotated, SessionScoped.class) != null) {
        sessionScopedBeans.add(bean);
      } else if (getAnnotation(beanManager, annotated, RequestScoped.class) != null) {

        if (!isEmpty(eager.requestURI())) {
          getRequestScopedBeansByRequestURI(eager.requestURI()).add(bean);
        } else if (!isEmpty(eager.viewId())) {
          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_REQUEST_URI_OR_VIEW_ID, bean.getBeanClass().getName(), RequestScoped.class.getName()));
View Full Code Here


      } else if (getAnnotation(beanManager, annotated, SessionScoped.class) != null) {
        sessionScopedBeans.add(bean);
      } else if (getAnnotation(beanManager, annotated, RequestScoped.class) != null) {

        if (!isEmpty(eager.requestURI())) {
          getRequestScopedBeansByRequestURI(eager.requestURI()).add(bean);
        } else if (!isEmpty(eager.viewId())) {
          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_REQUEST_URI_OR_VIEW_ID, bean.getBeanClass().getName(), RequestScoped.class.getName()));
        }
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.