javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.modelmbean.ModelMBeanNotificationBroadcaster
, javax.management.NotificationBroadcaster
public class GroupMBean extends BaseModelMBean
A ModelMBean implementation for the
org.apache.catalina.Group
component.
Modifier and Type | Field | 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 | Description |
---|---|
GroupMBean() |
Modifier and Type | Method | Description |
---|---|---|
void |
addRole(java.lang.String rolename) |
Add a new
Role to those this group belongs to. |
java.lang.String[] |
getRoles() |
|
java.lang.String[] |
getUsers() |
|
void |
removeRole(java.lang.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 java.lang.String[] getRoles()
public java.lang.String[] getUsers()
public void addRole(java.lang.String rolename)
Role
to those this group belongs to.rolename
- Role name of the new rolepublic void removeRole(java.lang.String rolename)
Role
from those this group belongs to.rolename
- Role name of the old roleCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.