org.apache.catalina.mbeans
public class GroupMBean extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.Group
component.
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Field Summary | |
---|---|
protected ManagedBean | managed
The ManagedBean information describing this MBean. |
protected MBeanServer | mserver
The MBeanServer in which we are registered. |
protected Registry | registry
The configuration information registry for our managed beans. |
Constructor Summary | |
---|---|
GroupMBean()
Construct a ModelMBean with default
ModelMBeanInfo information.
|
Method Summary | |
---|---|
void | addRole(String rolename)
Add a new Role to those this group belongs to.
|
String[] | getRoles()
Return the MBean Names of all authorized roles for this group. |
String[] | getUsers()
Return the MBean Names of all users that are members of this group. |
void | removeRole(String rolename)
Remove a Role from those this group belongs to.
|
ManagedBean
information describing this MBean.MBeanServer
in which we are registered.ModelMBean
with default
ModelMBeanInfo
information.
Throws: MBeanException if the initializer of an object throws an exception RuntimeOperationsException if an IllegalArgumentException occurs
Parameters: rolename Role name of the new role
Parameters: rolename Role name of the old role