public class GroupMBean extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.Group
component.
Modifier and Type | Field and Description |
---|---|
protected ManagedBean |
managed
The
ManagedBean information describing this MBean. |
protected Registry |
registry
The configuration information registry for our managed beans.
|
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
GroupMBean() |
Modifier and Type | Method and Description |
---|---|
void |
addRole(String rolename)
Add a new
Role to those this group belongs to. |
String[] |
getRoles() |
String[] |
getUsers() |
void |
removeRole(String rolename)
Remove a
Role from those this group belongs to. |
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString
protected final Registry registry
protected final ManagedBean managed
ManagedBean
information describing this MBean.public String[] getRoles()
public String[] getUsers()
public void addRole(String rolename)
Role
to those this group belongs to.rolename
- Role name of the new roleCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.