Package org.apache.catalina.mbeans
Class GroupMBean
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.GroupMBean
- All Implemented Interfaces:
- DynamicMBean,- MBeanRegistration,- ModelMBeanNotificationBroadcaster,- NotificationBroadcaster
 A ModelMBean implementation for the org.apache.catalina.Group component.
 
- Author:
- Craig R. McClanahan
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final ManagedBeanTheManagedBeaninformation describing this MBean.protected final RegistryThe configuration information registry for our managed beans.Fields inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanattributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanaddAttributeChangeNotificationListener, 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
- 
Field Details- 
registryThe configuration information registry for our managed beans.
- 
managedTheManagedBeaninformation describing this MBean.
 
- 
- 
Constructor Details- 
GroupMBeanpublic GroupMBean()
 
- 
- 
Method Details- 
getRoles- Returns:
- the MBean Names of all authorized roles for this group.
 
- 
getUsers- Returns:
- the MBean Names of all users that are members of this group.
 
- 
addRoleAdd a newRoleto those this group belongs to.- Parameters:
- rolename- Role name of the new role
 
- 
removeRoleRemove aRolefrom those this group belongs to.- Parameters:
- rolename- Role name of the old role
 
 
-