portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/factory PortletInstance.java PortletFactory.java
Date Wed, 23 Mar 2005 22:14:23 GMT
ate         2005/03/23 14:14:23

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/factory
                        PortletFactory.java
  Added:       jetspeed-api/src/java/org/apache/jetspeed/factory
                        PortletInstance.java
  Log:
  Resolving http://issues.apache.org/jira/browse/JS2-210
  
  Revision  Changes    Path
  1.4       +9 -12     jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/factory/PortletFactory.java
  
  Index: PortletFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/factory/PortletFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PortletFactory.java	27 Jan 2005 21:27:52 -0000	1.3
  +++ PortletFactory.java	23 Mar 2005 22:14:23 -0000	1.4
  @@ -15,10 +15,10 @@
    */
   package org.apache.jetspeed.factory;
   
  -import javax.portlet.Portlet;
   import javax.portlet.PortletException;
  -import javax.servlet.ServletConfig;
  +import javax.servlet.ServletContext;
   
  +import org.apache.jetspeed.om.common.portlet.PortletApplication;
   import org.apache.pluto.om.portlet.PortletDefinition;
   
   /**
  @@ -35,12 +35,9 @@
    */
   public interface PortletFactory
   {
  -    void addClassLoader(String paId, ClassLoader cl);
  -
  -    Portlet loadPortletClass( String className ) throws InstantiationException, IllegalAccessException;
  -
  -    Portlet getPortlet( ServletConfig servletConfig, PortletDefinition portletDefinition
) throws PortletException;
  -    
  -    ClassLoader getPortletClassLoader(PortletDefinition portletDef);
  -
  -}
  \ No newline at end of file
  +    void registerPortletApplication(PortletApplication pa, ClassLoader paClassLoader);
  +    void unregisterPortletApplication(PortletApplication pa);
  +    boolean isPortletApplicationRegistered(PortletApplication pa);
  +    ClassLoader getPortletApplicationClassLoader(PortletApplication pa);
  +    PortletInstance getPortletInstance( ServletContext servletContext, PortletDefinition
pd ) throws PortletException;
  +}
  
  
  
  1.2       +31 -0     jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/factory/PortletInstance.java
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message