Package org.jboss.shrinkwrap.descriptor.api.webapp

Examples of org.jboss.shrinkwrap.descriptor.api.webapp.WebAppCommonDescriptor


   @SuppressWarnings("rawtypes")
   public List<String> getEffectiveFacesServletMappings()
   {
      List<String> results = new ArrayList<>();
      ServletFacet<?> servlet = getFaceted().getFacet(ServletFacet.class);
      WebAppCommonDescriptor webXml = servlet.getConfig();

      // TODO should probably take into account facelets view mappings
      // facelets.VIEW_MAPPINGS

      results.addAll(getExplicitFacesServletMappings());
View Full Code Here


   {
      List<String> suffixes = new ArrayList<>();
      if (getFaceted().hasFacet(ServletFacet.class))
      {
         ServletFacet<?> servlet = getFaceted().getFacet(ServletFacet.class);
         WebAppCommonDescriptor config = servlet.getConfig();
         List<ParamValueCommonType> params = config.getAllContextParam();
         for (ParamValueCommonType param : params)
         {
            if (JAVAX_FACES_DEFAULT_SUFFIX.equals(param.getParamName()))
            {
               suffixes.add(param.getParamValue());
View Full Code Here

   {
      List<String> suffixes = new ArrayList<>();
      if (getFaceted().hasFacet(ServletFacet.class))
      {
         ServletFacet<?> servlet = getFaceted().getFacet(ServletFacet.class);
         WebAppCommonDescriptor config = servlet.getConfig();
         List<ParamValueCommonType> params = config.getAllContextParam();
         for (ParamValueCommonType param : params)
         {
            if (FACELETS_VIEW_MAPPINGS.equals(param.getParamName()))
            {
               suffixes.add(param.getParamValue());
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.descriptor.api.webapp.WebAppCommonDescriptor

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.