You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2009/04/03 18:29:48 UTC

svn commit: r761717 - /portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/java/org/apache/jetspeed/portlets/palm/PortletApplicationLifecycleManager.java

Author: taylor
Date: Fri Apr  3 16:29:47 2009
New Revision: 761717

URL: http://svn.apache.org/viewvc?rev=761717&view=rev
Log:
use interface not class 

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/java/org/apache/jetspeed/portlets/palm/PortletApplicationLifecycleManager.java

Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/java/org/apache/jetspeed/portlets/palm/PortletApplicationLifecycleManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/java/org/apache/jetspeed/portlets/palm/PortletApplicationLifecycleManager.java?rev=761717&r1=761716&r2=761717&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/java/org/apache/jetspeed/portlets/palm/PortletApplicationLifecycleManager.java (original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/java/org/apache/jetspeed/portlets/palm/PortletApplicationLifecycleManager.java Fri Apr  3 16:29:47 2009
@@ -36,7 +36,7 @@
 import org.apache.jetspeed.components.portletregistry.RegistryException;
 import org.apache.jetspeed.factory.PortletFactory;
 import org.apache.jetspeed.om.common.portlet.MutablePortletApplication;
-import org.apache.jetspeed.tools.pamanager.PortletApplicationManager;
+import org.apache.jetspeed.tools.pamanager.PortletApplicationManagement;
 import org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager;
 import org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult;
 import org.apache.portals.bridges.common.GenericServletPortlet;
@@ -54,7 +54,7 @@
     private ApplicationServerManager asm;
     private PortletRegistry          registry;
     private PortletFactory           portletFactory;
-    private PortletApplicationManager pam;
+    private PortletApplicationManagement pam;
     private boolean serverManagerAvailable;
     
     public void init(PortletConfig config)
@@ -65,7 +65,7 @@
         registry = (PortletRegistry)context.getAttribute(CommonPortletServices.CPS_REGISTRY_COMPONENT);
         portletFactory = (PortletFactory)context.getAttribute(CommonPortletServices.CPS_PORTLET_FACTORY_COMPONENT);
         asm = (ApplicationServerManager)context.getAttribute(CommonPortletServices.CPS_APPLICATION_SERVER_MANAGER_COMPONENT);
-        pam = (PortletApplicationManager)context.getAttribute(CommonPortletServices.CPS_PORTLET_APPLICATION_MANAGER);
+        pam = (PortletApplicationManagement)context.getAttribute(CommonPortletServices.CPS_PORTLET_APPLICATION_MANAGER);
         if (null == registry)
         {
             throw new PortletException("Failed to find the Portlet Registry on portlet initialization");



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