|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.ow2.jonas.webapp.jonasadmin.JonasBaseAction org.ow2.jonas.webapp.jonasadmin.service.ejb.EditEjbAction
public abstract class EditEjbAction
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 | |
---|---|
EditEjbAction()
|
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 |
fillEjbDependencies(boolean ejb3,
EjbForm pForm,
ObjectName pObjectName,
String domainName,
String serverName)
Fill all dependencies of EJB in the EjbForm instance. |
protected void |
fillEjbGlobalInfo(boolean ejb3,
EjbForm pForm,
ObjectName pObjectName)
Fill all global infos of EJB in the EjbForm instance. |
protected abstract void |
fillEjbInfo(boolean ejb3,
EjbForm pForm,
ObjectName pObjectName,
String serverName)
Fill all infos of EJB in the EjbForm instance. |
protected abstract EjbForm |
getEjbForm()
Return a EjbForm instance associate to the EJB. |
protected abstract String |
getEjbForward()
The global forward to go. |
protected ObjectName |
getEjbObjectName()
Get a ObjectName instance for the Ejb given with the
parameters of the HTPP request. |
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 |
---|
public EditEjbAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping pMapping, org.apache.struts.action.ActionForm pForm, HttpServletRequest pRequest, HttpServletResponse pResponse)
executeAction
in class JonasBaseAction
pMapping
- ActionForward
instancepForm
- ActionForm
instancepRequest
- HttpServletRequest
instancepResponse
- HttpServletResponse
instance
ActionForward
instanceprotected abstract String getEjbForward()
protected abstract EjbForm getEjbForm()
EjbForm
instance associate to the EJB.
protected abstract void fillEjbInfo(boolean ejb3, EjbForm pForm, ObjectName pObjectName, String serverName) throws Exception
EjbForm
instance.
pForm
- Instance to fillpObjectName
- Instance to get infos
Exception
- Could not fill infoprotected ObjectName getEjbObjectName() throws Exception
ObjectName
instance for the Ejb given with the
parameters of the HTPP request.
Exception
- Could not construct ObjectNameprotected void fillEjbGlobalInfo(boolean ejb3, EjbForm pForm, ObjectName pObjectName)
EjbForm
instance.
pForm
- Instance to fillpObjectName
- Instance to get infosprotected void fillEjbDependencies(boolean ejb3, EjbForm pForm, ObjectName pObjectName, String domainName, String serverName)
EjbForm
instance.
pForm
- Instance to fillpObjectName
- Instance to get infos
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |