Package com.liferay.faces.bridge.bean

Examples of com.liferay.faces.bridge.bean.MojarraInjectionProvider


        Method getInjectionProviderMethod = applicationAssociate.getClass().getMethod("getInjectionProvider",
            new Class[] {});
        Object injectionProvider = getInjectionProviderMethod.invoke(applicationAssociate, new Object[] {});
        logger.debug("Mojarra injectionProvider=[{0}]", injectionProvider);

        return new MojarraInjectionProvider(injectionProvider);
      }

      // Otherwise, return null.
      else {
View Full Code Here


    if (jsf.isDetected() && ProductConstants.MOJARRA.equals(jsf.getTitle())) {

      FacesContext facesContext = FacesContext.getCurrentInstance();
      ExternalContext externalContext = facesContext.getExternalContext();
      Map<String, Object> applicationMap = externalContext.getApplicationMap();
      MojarraInjectionProvider mojarraInjectionProvider = MojarraApplicationAssociate.getInjectionProvider(
          externalContext);
      applicationMap.put(MojarraInjectionProvider.class.getName(), mojarraInjectionProvider);

      if (mojarraInjectionProvider == null) {
        logger.error("Unable to discover Mojarra InjectionProvider during startup");
View Full Code Here

TOP

Related Classes of com.liferay.faces.bridge.bean.MojarraInjectionProvider

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.