org.objectweb.jonas.webapp.jonasadmin.service.db
Class ApplyDatasourceAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
          extended byorg.objectweb.jonas.webapp.jonasadmin.service.db.ApplyDatasourceAction

public class ApplyDatasourceAction
extends JonasBaseAction

Author:
Michel-Ange ANTON

Field Summary
 
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
DEPTH_DOMAIN, DEPTH_SERVER, domainName, m_Errors, m_Resources, m_Session, m_WhereAreYou, serverName
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
ApplyDatasourceAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping p_Mapping, org.apache.struts.action.ActionForm p_Form, javax.servlet.http.HttpServletRequest p_Request, javax.servlet.http.HttpServletResponse p_Response)
           
protected  void populate(DatasourceForm p_Form)
           
protected  void save(DatasourceForm p_Form)
           
 
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
addGlobalError, getBooleanAttribute, getBooleanAttribute, getBooleanAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getListAttribute, getLongAttribute, getLongAttribute, getLongAttribute, getPropsFromString, getStringAttribute, getStringAttribute, getStringAttribute, getTreeBranchName, initialize, perform, removeChar, setBooleanAttribute, setBooleanAttribute, setIntegerAttribute, setIntegerAttribute, setIntegerAttribute, setLongAttribute, setLongAttribute, setStringAttribute, setStringAttribute, setStringAttribute, toStringBooleanAttribute, toStringIntegerAttribute, toStringLongAttribute
 
Methods inherited from class org.apache.struts.action.Action
execute, execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyDatasourceAction

public ApplyDatasourceAction()
Method Detail

executeAction

public org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping p_Mapping,
                                                            org.apache.struts.action.ActionForm p_Form,
                                                            javax.servlet.http.HttpServletRequest p_Request,
                                                            javax.servlet.http.HttpServletResponse p_Response)
                                                     throws java.io.IOException,
                                                            javax.servlet.ServletException
Specified by:
executeAction in class JonasBaseAction
Throws:
java.io.IOException
javax.servlet.ServletException

populate

protected void populate(DatasourceForm p_Form)
                 throws java.lang.Exception
Throws:
java.lang.Exception

save

protected void save(DatasourceForm p_Form)
             throws java.lang.Exception
Throws:
java.lang.Exception