org.apache.jetspeed.portlets.palm
Class PortletApplicationLifecycleManager

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.jetspeed.portlets.palm.PortletApplicationLifecycleManager
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class PortletApplicationLifecycleManager
extends org.apache.portals.bridges.common.GenericServletPortlet

PALM Portlet

Version:
$Id: PortletApplicationLifecycleManager.java 348264 2005-11-22 22:06:45Z taylor $
Author:
Ate Douma

Field Summary
private  org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager asm
           
private  org.apache.jetspeed.factory.PortletFactory portletFactory
           
private  org.apache.jetspeed.components.portletregistry.PortletRegistry registry
           
private  boolean serverManagerAvailable
           
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Constructor Summary
PortletApplicationLifecycleManager()
           
 
Method Summary
protected  void deletePA(javax.portlet.ActionRequest request, org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)
           
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void init(javax.portlet.PortletConfig config)
           
private  boolean isEmpty(String s)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
protected  void publishStatusMessage(javax.portlet.PortletRequest request, String portlet, String topic, Throwable e, String message)
           
protected  void startPA(javax.portlet.ActionRequest request, org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)
           
protected  void stopPA(javax.portlet.ActionRequest request, org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)
           
protected  void undeployPA(javax.portlet.ActionRequest request, org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)
           
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
doCustom, doEdit, doHelp, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

asm

private org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager asm

registry

private org.apache.jetspeed.components.portletregistry.PortletRegistry registry

portletFactory

private org.apache.jetspeed.factory.PortletFactory portletFactory

serverManagerAvailable

private boolean serverManagerAvailable
Constructor Detail

PortletApplicationLifecycleManager

public PortletApplicationLifecycleManager()
Method Detail

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Overrides:
init in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
Overrides:
doView in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException
IOException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse response)
                   throws javax.portlet.PortletException,
                          IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException
IOException

publishStatusMessage

protected void publishStatusMessage(javax.portlet.PortletRequest request,
                                    String portlet,
                                    String topic,
                                    Throwable e,
                                    String message)

startPA

protected void startPA(javax.portlet.ActionRequest request,
                       org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)

stopPA

protected void stopPA(javax.portlet.ActionRequest request,
                      org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)

undeployPA

protected void undeployPA(javax.portlet.ActionRequest request,
                          org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)

deletePA

protected void deletePA(javax.portlet.ActionRequest request,
                        org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)

isEmpty

private boolean isEmpty(String s)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.