org.objectweb.jonas.webapp.jonasadmin.service.ejb
Class ExecuteEjbAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
          extended by org.objectweb.jonas.webapp.jonasadmin.service.ejb.ExecuteEjbAction

public class ExecuteEjbAction
extends JonasBaseAction

Author:
Michel-Ange ANTON

Field Summary
protected  java.lang.String mAction
           
protected  java.lang.String mForward
           
 
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
DEPTH_DOMAIN, DEPTH_SERVER, m_Errors, m_Resources, m_Session, m_WhereAreYou
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ExecuteEjbAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping pMapping, org.apache.struts.action.ActionForm pForm, javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse)
          Execute a action.
protected  void executeEjb(EjbForm pForm, java.lang.String serverName)
          Dispath executing on Ejb.
 
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
addGlobalError, execute, getBooleanAttribute, getBooleanAttribute, getBooleanAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getJonasBase, getListAttribute, getLongAttribute, getLongAttribute, getLongAttribute, getPropsFromString, getShortAttribute, getStringArrayAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getTreeBranchName, initialize, refreshDomainDeployTree, refreshDomainMonitoringTree, refreshServerTree, removeChar, setBooleanAttribute, setBooleanAttribute, setIntegerAttribute, setIntegerAttribute, setIntegerAttribute, setLongAttribute, setLongAttribute, setShortAttribute, setStringAttribute, setStringAttribute, setStringAttribute, toStringBooleanAttribute, toStringIntegerAttribute, toStringLongAttribute, toStringShortAttribute
 
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

mAction

protected java.lang.String mAction

mForward

protected java.lang.String mForward
Constructor Detail

ExecuteEjbAction

public ExecuteEjbAction()
Method Detail

executeAction

public org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping pMapping,
                                                            org.apache.struts.action.ActionForm pForm,
                                                            javax.servlet.http.HttpServletRequest pRequest,
                                                            javax.servlet.http.HttpServletResponse pResponse)
                                                     throws java.io.IOException,
                                                            javax.servlet.ServletException
Execute a action.

Specified by:
executeAction in class JonasBaseAction
Parameters:
pMapping - ActionForward instance
pForm - ActionForm instance
pRequest - HttpServletRequest instance
pResponse - HttpServletResponse instance
Returns:
ActionForward instance
Throws:
java.io.IOException
javax.servlet.ServletException

executeEjb

protected void executeEjb(EjbForm pForm,
                          java.lang.String serverName)
                   throws java.lang.Exception
Dispath executing on Ejb.

Parameters:
pForm - Current form
Throws:
java.lang.Exception - Could not execute the requested action