java.lang.Object
org.apache.struts.action.Action
org.apache.webapp.admin.users.ListGroupsAction
- public class ListGroupsAction
- extends org.apache.struts.action.Action
Retrieve the set of MBean names for all currently defined groups,
and expose them in a request attribute named "groupsForm". This action
requires the following request parameters to be set:
- databaseName - Object name of the UserDatabase
MBean from which we should retrieve the groups list.
- forward - Global forward to which we should
go after stashing the groups list.
- Since:
- 4.1
- Version:
- $Revision: 303390 $ $Date: 2004-10-18 02:37:56 -0400 (Mon, 18 Oct 2004) $
| 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 |
mserver
private javax.management.MBeanServer mserver
- The MBeanServer we will be interacting with.
ListGroupsAction
public ListGroupsAction()
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse 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.