You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by at...@apache.org on 2008/05/03 15:14:44 UTC

svn commit: r653075 - /portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/PortletRegistryService.java

Author: ate
Date: Sat May  3 06:14:44 2008
New Revision: 653075

URL: http://svn.apache.org/viewvc?rev=653075&view=rev
Log:
Rethinking about dropping PortletContainerException from some PortletRegistryService methods.
Better declare these formally for all direct access methods to (potentially) loaded Portlet Applications, even if the default Pluto implementation PortletContextManager doesn't throw them. 

Modified:
    portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/PortletRegistryService.java

Modified: portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/PortletRegistryService.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/PortletRegistryService.java?rev=653075&r1=653074&r2=653075&view=diff
==============================================================================
--- portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/PortletRegistryService.java (original)
+++ portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/PortletRegistryService.java Sat May  3 06:14:44 2008
@@ -75,7 +75,8 @@
      * @param applicationId portlet application id
      * @return portlet context or null if not registered
      */
-    InternalPortletContext getPortletContext(String applicationId);
+    InternalPortletContext getPortletContext(String applicationId)
+        throws PortletContainerException;
 
     /**
      * Retreive the Portlet for the specified portlet.
@@ -103,7 +104,8 @@
      * @param applicationId portlet application id
      * @return classLoader
      */
-    ClassLoader getClassLoader(String applicationId);
+    ClassLoader getClassLoader(String applicationId)
+        throws PortletContainerException;
     
     /**
      * Add a listener which will recieve notifications of newly