[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/portlet/container ...

Julien Viet julien at jboss.com
Tue Aug 22 10:08:53 EDT 2006


  User: julien  
  Date: 06/08/22 10:08:53

  Modified:    portlet/src/main/org/jboss/portal/portlet/container 
                        PortletContainerInvoker.java
  Log:
  - refactored the ValueMap to PropertyMap and moved it in org.jboss.portal.portlet.state package
  - introduced TypedMap that is super type of ParameterMap and is reused for the PropertyMap
  
  Revision  Changes    Path
  1.26      +4 -8      jboss-portal/portlet/src/main/org/jboss/portal/portlet/container/PortletContainerInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PortletContainerInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/container/PortletContainerInvoker.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -b -r1.25 -r1.26
  --- PortletContainerInvoker.java	22 Aug 2006 12:52:59 -0000	1.25
  +++ PortletContainerInvoker.java	22 Aug 2006 14:08:53 -0000	1.26
  @@ -24,16 +24,12 @@
   import org.jboss.portal.common.system.AbstractJBossService;
   import org.jboss.portal.common.invocation.InvocationException;
   import org.jboss.portal.common.invocation.InterceptorStack;
  -import org.jboss.portal.common.value.ValueMap;
  -import org.jboss.portal.common.value.SimpleValueMap;
  -import org.jboss.portal.common.value.Value;
  +import org.jboss.portal.portlet.state.PropertyMap;
   import org.jboss.portal.portlet.PortletInvoker;
   import org.jboss.portal.portlet.Portlet;
   import org.jboss.portal.portlet.NoSuchPortletException;
   import org.jboss.portal.portlet.PortletInvokerException;
   import org.jboss.portal.portlet.container.info.ContainerPortletInfo;
  -import org.jboss.portal.portlet.container.info.ContainerPreferencesInfo;
  -import org.jboss.portal.portlet.container.info.ContainerPreferenceInfo;
   import org.jboss.portal.portlet.invocation.PortletInvocation;
   
   import java.util.Set;
  @@ -45,7 +41,7 @@
    * An implementation of portlet invoker that makes a call to a portlet container.
    *
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.25 $
  + * @version $Revision: 1.26 $
    */
   public class PortletContainerInvoker extends AbstractJBossService implements PortletInvoker
   {
  @@ -154,12 +150,12 @@
         throw new UnsupportedOperationException();
      }
   
  -   public ValueMap getProperties(String portletId) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
  +   public PropertyMap getProperties(String portletId) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
      {
         throw new UnsupportedOperationException();
      }
   
  -   public void setProperties(String portletId, ValueMap properties)
  +   public void setProperties(String portletId, PropertyMap properties)
      {
         throw new UnsupportedOperationException();
      }
  
  
  



More information about the jboss-cvs-commits mailing list