org.apache.geronimo.console.webmanager
Class ConnectorPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.geronimo.console.BasePortlet
          extended by org.apache.geronimo.console.webmanager.ConnectorPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class ConnectorPortlet
extends BasePortlet

A portlet that lets you list, add, remove, start, stop, and edit web connectors (currently, either Tomcat or Jetty).


Nested Class Summary
static class ConnectorPortlet.ContainerInfo
           
 
Field Summary
static String PARM_CONNECTOR_ATTRIBUTES
           
static String PARM_CONNECTOR_TYPE
           
static String PARM_CONNECTOR_URI
           
static String PARM_CONTAINER_URI
           
static String PARM_DISPLAY_NAME
           
static String PARM_MANAGER_URI
           
static String PARM_MODE
           
static String PARM_SERVER
           
 
Fields inherited from class org.apache.geronimo.console.BasePortlet
WEB_SERVER_GENERIC, WEB_SERVER_JETTY, WEB_SERVER_TOMCAT
 
Constructor Summary
ConnectorPortlet()
           
 
Method Summary
 void destroy()
           
protected  void doHelp(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doView(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
 void init(javax.portlet.PortletConfig portletConfig)
           
static boolean isValid(String s)
           
 void processAction(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class org.apache.geronimo.console.BasePortlet
callOperation, getProperty, getWebServerType, setProperty
 
Methods inherited from class javax.portlet.GenericPortlet
doDispatch, doEdit, 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

PARM_CONTAINER_URI

public static final String PARM_CONTAINER_URI
See Also:
Constant Field Values

PARM_CONNECTOR_URI

public static final String PARM_CONNECTOR_URI
See Also:
Constant Field Values

PARM_MANAGER_URI

public static final String PARM_MANAGER_URI
See Also:
Constant Field Values

PARM_MODE

public static final String PARM_MODE
See Also:
Constant Field Values

PARM_CONNECTOR_TYPE

public static final String PARM_CONNECTOR_TYPE
See Also:
Constant Field Values

PARM_CONNECTOR_ATTRIBUTES

public static final String PARM_CONNECTOR_ATTRIBUTES
See Also:
Constant Field Values

PARM_DISPLAY_NAME

public static final String PARM_DISPLAY_NAME
See Also:
Constant Field Values

PARM_SERVER

public static final String PARM_SERVER
See Also:
Constant Field Values
Constructor Detail

ConnectorPortlet

public ConnectorPortlet()
Method Detail

processAction

public void processAction(javax.portlet.ActionRequest actionRequest,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException
IOException

doView

protected void doView(javax.portlet.RenderRequest renderRequest,
                      javax.portlet.RenderResponse renderResponse)
               throws IOException,
                      javax.portlet.PortletException
Overrides:
doView in class javax.portlet.GenericPortlet
Throws:
IOException
javax.portlet.PortletException

doHelp

protected void doHelp(javax.portlet.RenderRequest renderRequest,
                      javax.portlet.RenderResponse renderResponse)
               throws javax.portlet.PortletException,
                      IOException
Overrides:
doHelp in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException
IOException

init

public void init(javax.portlet.PortletConfig portletConfig)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Overrides:
init in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException

destroy

public void destroy()
Specified by:
destroy in interface javax.portlet.Portlet
Overrides:
destroy in class javax.portlet.GenericPortlet

isValid

public static boolean isValid(String s)


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