org.objectweb.jonas.webapp.jonasadmin
Class JonasBaseAction
java.lang.Object
Action
org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
- Direct Known Subclasses:
- ApplyConfirmRealmsAction, ApplyDatasourceAction, ApplyDatasourcePropertiesAction, ApplyDatasourcePropsConfirmAction, ApplyLoggingJonasAction, ApplyMemoryAction, ApplyMonitoringAction, ApplyRealmsAction, BaseDeployAction, BaseMemoryRealmAction, EditContainerAction, EditDatasourceAction, EditDatasourcePropertiesAction, EditDatasourceRealmAction, EditEarAction, EditEjbAction, EditEjbContServiceAction, EditJmxServerAction, EditJonasServerAction, EditLdapRealmAction, EditLoggingJonasAction, EditMemoryAction, EditMonitoringAction, EditWarAction, JonasServerRunGCAction, JonasServerStopAction, ListAppContainersAction, ListContainersAction, ListDatabasesAction, ListDatasourcesAction, ListWebContainersAction, SetupWhereAreYouAction
- public abstract class JonasBaseAction
- extends Action
- See Also:
- Serialized Form
Field Summary |
protected ActionErrors |
m_Errors
|
protected MessageResources |
m_Resources
The MessageResources we will be retrieving messages from. |
protected javax.servlet.http.HttpSession |
m_Session
|
Method Summary |
protected void |
addGlobalError(java.lang.Throwable p_Throwable)
|
abstract ActionForward |
executeAction(ActionMapping p_Mapping,
ActionForm p_Form,
javax.servlet.http.HttpServletRequest p_Request,
javax.servlet.http.HttpServletResponse p_Response)
|
protected boolean |
getBooleanAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
protected boolean |
getBooleanAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
|
protected boolean |
getBooleanAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
boolean p_Default)
|
protected int |
getIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
protected int |
getIntegerAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
|
protected int |
getIntegerAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
int p_Default)
|
protected long |
getLongAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
protected long |
getLongAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
|
protected long |
getLongAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
long p_Default)
|
protected java.lang.String |
getStringAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
protected java.lang.String |
getStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
|
protected java.lang.String |
getStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
java.lang.String p_Default)
|
ActionForward |
perform(ActionMapping p_Mapping,
ActionForm p_Form,
javax.servlet.http.HttpServletRequest p_Request,
javax.servlet.http.HttpServletResponse p_Response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
protected void |
setBooleanAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
boolean p_Value)
|
protected void |
setBooleanAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
boolean p_Value)
|
protected void |
setIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
int p_Value)
|
protected void |
setIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
java.lang.String p_Value)
|
protected void |
setIntegerAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
int p_Value)
|
protected void |
setLongAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
long p_Value)
|
protected void |
setLongAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
long p_Value)
|
protected void |
setStringAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
java.lang.String p_Value)
|
protected void |
setStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
java.lang.String p_Value)
|
protected void |
setStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
java.lang.String p_Value,
java.lang.String p_Default)
|
protected java.lang.String |
toStringBooleanAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
protected java.lang.String |
toStringIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
protected java.lang.String |
toStringLongAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_Resources
protected MessageResources m_Resources
- The MessageResources we will be retrieving messages from.
m_Session
protected javax.servlet.http.HttpSession m_Session
m_Errors
protected ActionErrors m_Errors
JonasBaseAction
public JonasBaseAction()
executeAction
public abstract 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
- Throws:
java.io.IOException
javax.servlet.ServletException
perform
public ActionForward perform(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
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward
instance describing where and how
control should be forwarded, or null
if the response has
already been completed.
- Throws:
java.io.IOException
- if an input/output error occurs
javax.servlet.ServletException
- if a servlet exception occurs
addGlobalError
protected void addGlobalError(java.lang.Throwable p_Throwable)
getStringAttribute
protected java.lang.String getStringAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
setStringAttribute
protected void setStringAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
java.lang.String p_Value)
getIntegerAttribute
protected int getIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
toStringIntegerAttribute
protected java.lang.String toStringIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
setIntegerAttribute
protected void setIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
int p_Value)
setIntegerAttribute
protected void setIntegerAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
java.lang.String p_Value)
getLongAttribute
protected long getLongAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
toStringLongAttribute
protected java.lang.String toStringLongAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
setLongAttribute
protected void setLongAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
long p_Value)
getBooleanAttribute
protected boolean getBooleanAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
toStringBooleanAttribute
protected java.lang.String toStringBooleanAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName)
setBooleanAttribute
protected void setBooleanAttribute(javax.management.ObjectName p_ObjectName,
java.lang.String ps_AttrName,
boolean p_Value)
getStringAttribute
protected java.lang.String getStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
getStringAttribute
protected java.lang.String getStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
java.lang.String p_Default)
setStringAttribute
protected void setStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
java.lang.String p_Value)
setStringAttribute
protected void setStringAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
java.lang.String p_Value,
java.lang.String p_Default)
getIntegerAttribute
protected int getIntegerAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
getIntegerAttribute
protected int getIntegerAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
int p_Default)
setIntegerAttribute
protected void setIntegerAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
int p_Value)
getLongAttribute
protected long getLongAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
getLongAttribute
protected long getLongAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
long p_Default)
setLongAttribute
protected void setLongAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
long p_Value)
getBooleanAttribute
protected boolean getBooleanAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName)
getBooleanAttribute
protected boolean getBooleanAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
boolean p_Default)
setBooleanAttribute
protected void setBooleanAttribute(java.util.Properties p_Props,
java.lang.String ps_AttrName,
boolean p_Value)