org.ow2.jonas.webapp.jonasadmin.service.ejb
Class EditEjbSessionAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.ow2.jonas.webapp.jonasadmin.JonasBaseAction
          extended by org.ow2.jonas.webapp.jonasadmin.service.ejb.EditEjbAction
              extended by org.ow2.jonas.webapp.jonasadmin.service.ejb.EditEjbSessionAction
Direct Known Subclasses:
EditEjbSessionSblAction

public class EditEjbSessionAction
extends EditEjbAction

Author:
Michel-Ange ANTON

Field Summary
 
Fields inherited from class org.ow2.jonas.webapp.jonasadmin.JonasBaseAction
DEPTH_DOMAIN, DEPTH_SERVER, GLOBAL_ERROR_FORWARD, m_Errors, m_Resources, m_Session, m_WhereAreYou
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditEjbSessionAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping pMapping, org.apache.struts.action.ActionForm pForm, HttpServletRequest pRequest, HttpServletResponse pResponse)
          Execute a action.
protected  void fillEjbInfo(boolean ejb3, EjbForm p_Form, ObjectName p_ObjectName, String serverName)
          Fill all infos of EJB Session in the EjbSessionForm instance.
protected  EjbForm getEjbForm()
          Return a EjbSessionForm instance associate to the EJB.
protected  String getEjbForward()
          The global forward to go.
 
Methods inherited from class org.ow2.jonas.webapp.jonasadmin.service.ejb.EditEjbAction
fillEjbDependencies, fillEjbGlobalInfo, getEjbObjectName
 
Methods inherited from class org.ow2.jonas.webapp.jonasadmin.JonasBaseAction
addGlobalError, execute, getAttributes, getBooleanAttribute, getBooleanAttribute, getBooleanAttribute, getIntAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getJonasBase, getListAttribute, getLongAttribute, getLongAttribute, getLongAttribute, getNameForProvider, getPropsFromString, getServerItem, getShortAttribute, getStringArrayAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getTreeBranchName, initialize, invoke, isActive, refreshDomainDeployTree, refreshServicesTree, refreshTree, 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
 

Constructor Detail

EditEjbSessionAction

public EditEjbSessionAction()
Method Detail

executeAction

public org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping pMapping,
                                                            org.apache.struts.action.ActionForm pForm,
                                                            HttpServletRequest pRequest,
                                                            HttpServletResponse pResponse)
Description copied from class: EditEjbAction
Execute a action.

Overrides:
executeAction in class EditEjbAction
Parameters:
pMapping - ActionForward instance
pForm - ActionForm instance
pRequest - HttpServletRequest instance
pResponse - HttpServletResponse instance
Returns:
ActionForward instance

getEjbForm

protected EjbForm getEjbForm()
Return a EjbSessionForm instance associate to the EJB.

Specified by:
getEjbForm in class EditEjbAction
Returns:
A form instance

fillEjbInfo

protected void fillEjbInfo(boolean ejb3,
                           EjbForm p_Form,
                           ObjectName p_ObjectName,
                           String serverName)
                    throws Exception
Fill all infos of EJB Session in the EjbSessionForm instance.

Specified by:
fillEjbInfo in class EditEjbAction
Parameters:
p_Form - Instance to fill
p_ObjectName - Instance to get infos
Throws:
Exception

getEjbForward

protected String getEjbForward()
The global forward to go.

Specified by:
getEjbForward in class EditEjbAction
Returns:
Forward


Copyright © 2010 OW2 Consortium. All Rights Reserved.