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, 02 Mar 2005 02:31:47 GMT
ate         2005/03/01 18:31:47

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/tools/deploy Tag:
                        deployment-refactoring DeployFactory.java
               jetspeed-api/src/java/org/apache/jetspeed/factory Tag:
                        deployment-refactoring PortletFactory.java
  Added:       jetspeed-api/src/java/org/apache/jetspeed/tools/pamanager
                        Tag: deployment-refactoring
                        PortletApplicationManagement.java
               jetspeed-api/src/java/org/apache/jetspeed/factory Tag:
                        deployment-refactoring PortletInstance.java
  Log:
  jetspeed-api changes and enhancements
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +37 -0     jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/tools/pamanager/Attic/PortletApplicationManagement.java
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +2 -3      jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/tools/deploy/DeployFactory.java
  
  Index: DeployFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/tools/deploy/DeployFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- DeployFactory.java	2 Feb 2005 03:11:35 -0000	1.1
  +++ DeployFactory.java	2 Mar 2005 02:31:46 -0000	1.1.2.1
  @@ -28,8 +28,7 @@
        *
        * @param inputWarPath
        * @param outputWarPath
  -     * @param registerAtInit
        * @return Deploy instance
        */
  -    public Deploy getInstance(String inputWarPath, String outputWarPath, boolean registerAtInit)
throws Exception;
  +    public Deploy getInstance(String inputWarPath, String outputWarPath) throws Exception;
   }
  
  
  
  No                   revision
  No                   revision
  1.3.2.1   +8 -11     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.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- PortletFactory.java	27 Jan 2005 21:27:52 -0000	1.3
  +++ PortletFactory.java	2 Mar 2005 02:31:47 -0000	1.3.2.1
  @@ -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);
  +    void registerPortletApplication(PortletApplication pa, ClassLoader paClassLoader);
  +    void unregisterPortletApplication(PortletApplication pa);
   
  -    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
  +    ClassLoader getPortletApplicationClassLoader(PortletApplication pa);
  +    PortletInstance getPortletInstance( ServletContext servletContext, PortletDefinition
pd ) throws PortletException;
  +}
  
  
  
  No                   revision
  
  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.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- PortletFactory.java	27 Jan 2005 21:27:52 -0000	1.3
  +++ PortletFactory.java	2 Mar 2005 02:31:47 -0000	1.3.2.1
  @@ -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);
  +    void registerPortletApplication(PortletApplication pa, ClassLoader paClassLoader);
  +    void unregisterPortletApplication(PortletApplication pa);
   
  -    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
  +    ClassLoader getPortletApplicationClassLoader(PortletApplication pa);
  +    PortletInstance getPortletInstance( ServletContext servletContext, PortletDefinition
pd ) throws PortletException;
  +}
  
  
  
  No                   revision
  
  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.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- PortletFactory.java	27 Jan 2005 21:27:52 -0000	1.3
  +++ PortletFactory.java	2 Mar 2005 02:31:47 -0000	1.3.2.1
  @@ -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);
  +    void registerPortletApplication(PortletApplication pa, ClassLoader paClassLoader);
  +    void unregisterPortletApplication(PortletApplication pa);
   
  -    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
  +    ClassLoader getPortletApplicationClassLoader(PortletApplication pa);
  +    PortletInstance getPortletInstance( ServletContext servletContext, PortletDefinition
pd ) throws PortletException;
  +}
  
  
  
  1.1.2.1   +31 -0     jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/factory/Attic/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