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

java.lang.Object
  extended byAction
      extended byorg.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
          extended byorg.objectweb.jonas.webapp.jonasadmin.service.ejb.ExecuteEjbAction

public class ExecuteEjbAction
extends JonasBaseAction

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
protected  java.lang.String m_Action
           
protected  int m_Type
           
 
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
m_Errors, m_Resources, m_Session, m_WhereAreYou
 
Constructor Summary
ExecuteEjbAction()
           
 
Method Summary
 ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form, javax.servlet.http.HttpServletRequest p_Request, javax.servlet.http.HttpServletResponse p_Response)
          Execute a action.
protected  void executeEjb(EjbForm p_Form)
          Dispath executing on Ejb.
protected  EjbForm getEjbForm()
          Return a EjbForm instance associate to the EJB of the session.
protected  java.lang.String getEjbForward(EjbForm p_Form, javax.servlet.http.HttpServletRequest p_Request)
          The global forward to go.
protected  javax.management.ObjectName getEjbObjectName(EjbForm p_Form)
          Get a ObjectName instance for the Ejb given.
protected  int getIntegerType(EjbForm p_Form)
          The integer type of a Ebj.
 
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
addGlobalError, getBooleanAttribute, getBooleanAttribute, getBooleanAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getLongAttribute, getLongAttribute, getLongAttribute, getPropsFromString, getStringAttribute, getStringAttribute, getStringAttribute, getTreeBranchName, perform, removeChar, setBooleanAttribute, setBooleanAttribute, setIntegerAttribute, setIntegerAttribute, setIntegerAttribute, setLongAttribute, setLongAttribute, setStringAttribute, setStringAttribute, setStringAttribute, toStringBooleanAttribute, toStringIntegerAttribute, toStringLongAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Type

protected int m_Type

m_Action

protected java.lang.String m_Action
Constructor Detail

ExecuteEjbAction

public ExecuteEjbAction()
Method Detail

executeAction

public ActionForward executeAction(ActionMapping p_Mapping,
                                   ActionForm p_Form,
                                   javax.servlet.http.HttpServletRequest p_Request,
                                   javax.servlet.http.HttpServletResponse p_Response)
                            throws java.io.IOException,
                                   javax.servlet.ServletException
Execute a action.

Specified by:
executeAction in class JonasBaseAction
Parameters:
p_Mapping - ActionForward instance
p_Form - ActionForm instance
p_Request - HttpServletRequest instance
p_Response - HttpServletResponse instance
Returns:
ActionForward instance
Throws:
java.io.IOException
javax.servlet.ServletException

executeEjb

protected void executeEjb(EjbForm p_Form)
                   throws java.lang.Exception
Dispath executing on Ejb.

Parameters:
p_Form - Current form
Throws:
java.lang.Exception

getIntegerType

protected int getIntegerType(EjbForm p_Form)
The integer type of a Ebj.

Parameters:
p_Form - Current form
Returns:
The integer type

getEjbForward

protected java.lang.String getEjbForward(EjbForm p_Form,
                                         javax.servlet.http.HttpServletRequest p_Request)
The global forward to go.

Parameters:
p_Form - The current form
p_Request - The current HTTP request
Returns:
Forward

getEjbForm

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

Returns:
A form instance

getEjbObjectName

protected javax.management.ObjectName getEjbObjectName(EjbForm p_Form)
                                                throws java.lang.Exception
Get a ObjectName instance for the Ejb given.

Parameters:
p_Form - Current form
Returns:
The ObjectName instance
Throws:
java.lang.Exception