Package org.jboss.portal.portlet.federation

Examples of org.jboss.portal.portlet.federation.FederatedPortletInvoker


      return portlets;
   }

   public Portlet getPortlet(PortletContext compoundPortletContext) throws IllegalArgumentException, PortletInvokerException
   {
      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.getPortlet(compoundPortletContext);
   }
View Full Code Here


   }

   public PortletInvocationResponse invoke(PortletInvocation invocation) throws PortletInvokerException
   {
      PortletContext compoundPortletContext = invocation.getTarget();
      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.invoke(invocation);
   }
View Full Code Here

      return federated.invoke(invocation);
   }

   public PortletContext createClone(PortletContext compoundPortletContext) throws PortletInvokerException
   {
      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.createClone(compoundPortletContext);
   }
View Full Code Here

      {
         return Collections.emptyList();
      }

      // Get the invoker and check that we address only one invoker (for now)
      FederatedPortletInvoker invoker = null;
      for (PortletContext compoundPortletContext : portletContexts)
      {
         FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
         if (invoker == null)
         {
            invoker = federated;
         }
         else if (!invoker.equals(federated))
View Full Code Here

      return invoker.destroyClones(portletContexts);
   }

   public PropertyMap getProperties(PortletContext compoundPortletContext, Set<String> keys) throws PortletInvokerException
   {
      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.getProperties(compoundPortletContext, keys);
   }
View Full Code Here

      return federated.getProperties(compoundPortletContext, keys);
   }

   public PropertyMap getProperties(PortletContext compoundPortletContext) throws PortletInvokerException
   {
      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.getProperties(compoundPortletContext);
   }
View Full Code Here

      return federated.getProperties(compoundPortletContext);
   }

   public PortletContext setProperties(PortletContext compoundPortletContext, PropertyChange[] changes) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
   {
      FederatedPortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.setProperties(compoundPortletContext, changes);
   }
View Full Code Here

         throw new IllegalArgumentException("Bad portlet id format " + compoundPortletId);
      }

      //
      String invokerId = compoundPortletId.substring(0, pos);
      FederatedPortletInvoker federated = registry.get(invokerId);
      if (federated == null)
      {
         throw new NoSuchPortletException(compoundPortletId);
      }
View Full Code Here

TOP

Related Classes of org.jboss.portal.portlet.federation.FederatedPortletInvoker

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.