Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.webapp.admin.resources
Class SetUpDataSourceAction  view SetUpDataSourceAction download SetUpDataSourceAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.apache.webapp.admin.resources.SetUpDataSourceAction

public final class SetUpDataSourceAction
extends org.apache.struts.action.Action

Implementation of Action that sets up and stashes a DataSourceForm bean in request scope. The form bean will have a null objectName property if this form represents a DataSource being added, or a non-null value for an existing DataSource.

Since:
4.1
Version:
$Revision: 303390 $ $Date: 2004-10-18 02:37:56 -0400 (Mon, 18 Oct 2004) $

Field Summary
private  javax.management.MBeanServer mserver
          The MBeanServer we will be interacting with.
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SetUpDataSourceAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mserver

private javax.management.MBeanServer mserver
The MBeanServer we will be interacting with.

Constructor Detail

SetUpDataSourceAction

public SetUpDataSourceAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). Return an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.