Package org.jboss.portal.portlet.impl.info

Examples of org.jboss.portal.portlet.impl.info.ContainerOptionInfo


      PortletContainer container = (PortletContainer)invocation.getAttribute(ContainerPortletInvoker.PORTLET_CONTAINER);
      ContainerPortletInfo containerInfo = (ContainerPortletInfo)container.getInfo();

      //
      Map<String, ContainerOptionInfo> options = containerInfo.getOptions();
      ContainerOptionInfo scopingOption = options.get("javax.portlet.actionScopedRequestAttributes");

      //
      int maxScope = 0;
      if (scopingOption != null && "true".equals(scopingOption.getValues().get(0)))
      {
         maxScope = 10;

         //
         List<String> values = scopingOption.getValues();
         if (values.size() >= 3 && "numberOfCachedScopes".equals(values.get(1)))
         {
            try
            {
               maxScope = Integer.parseInt(values.get(2));
View Full Code Here

TOP

Related Classes of org.jboss.portal.portlet.impl.info.ContainerOptionInfo

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.