org.apache.geronimo.console.databasemanager.wizard
Class DatabasePoolPortlet

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

public class DatabasePoolPortlet
extends BasePortlet

A portlet that lets you configure and deploy JDBC connection pools.


Nested Class Summary
static class DatabasePoolPortlet.ConfigParam
           
static class DatabasePoolPortlet.ConnectionPool
           
static class DatabasePoolPortlet.PoolData
           
static class DatabasePoolPortlet.ResourceAdapterParams
           
 
Field Summary
 
Fields inherited from class org.apache.geronimo.console.BasePortlet
WEB_SERVER_GENERIC, WEB_SERVER_JETTY, WEB_SERVER_TOMCAT
 
Constructor Summary
DatabasePoolPortlet()
           
 
Method Summary
 void destroy()
           
protected  void doView(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
 DriverDownloader.DriverInfo[] getDriverInfo(javax.portlet.PortletRequest request)
           
 DatabasePoolPortlet.ResourceAdapterParams getRARConfiguration(javax.portlet.PortletRequest request, String rarPath, String displayName, String adapterAbstractName)
          Loads data about a resource adapter.
 void init(javax.portlet.PortletConfig portletConfig)
           
 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, doHelp, 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
 

Constructor Detail

DatabasePoolPortlet

public DatabasePoolPortlet()
Method Detail

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

getDriverInfo

public DriverDownloader.DriverInfo[] getDriverInfo(javax.portlet.PortletRequest request)

getRARConfiguration

public DatabasePoolPortlet.ResourceAdapterParams getRARConfiguration(javax.portlet.PortletRequest request,
                                                                     String rarPath,
                                                                     String displayName,
                                                                     String adapterAbstractName)
Loads data about a resource adapter. Depending on what we already have, may load the name and description, but always loads the config property descriptions.

Parameters:
request - Pass it or die
rarPath - If we're creating a new RA, the path to identify it
displayName - If we're editing an existing RA, its name
adapterAbstractName - If we're editing an existing RA, its AbstractName
Returns:
resource adapter parameter data object

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


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.