| java.lang.Object org.apache.tomcat.util.modeler.BaseModelMBean org.apache.catalina.mbeans.GroupMBean
GroupMBean | public class GroupMBean extends BaseModelMBean (Code) | | A ModelMBean implementation for the
org.apache.catalina.Group component.
author: Craig R. McClanahan version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Constructor Summary | |
public | GroupMBean() Construct a ModelMBean with default
ModelMBeanInfo information. |
Method Summary | |
public void | addRole(String rolename) Add a new
Role to those this group belongs to. | public String[] | getRoles() Return the MBean Names of all authorized roles for this group. | public String[] | getUsers() Return the MBean Names of all users that are members of this group. | public void | removeRole(String rolename) Remove a
Role from those this group belongs to. |
managed | protected ManagedBean managed(Code) | | The ManagedBean information describing this MBean.
|
mserver | protected MBeanServer mserver(Code) | | The MBeanServer in which we are registered.
|
registry | protected Registry registry(Code) | | The configuration information registry for our managed beans.
|
addRole | public void addRole(String rolename)(Code) | | Add a new
Role to those this group belongs to.
Parameters: rolename - Role name of the new role |
getRoles | public String[] getRoles()(Code) | | Return the MBean Names of all authorized roles for this group.
|
getUsers | public String[] getUsers()(Code) | | Return the MBean Names of all users that are members of this group.
|
removeRole | public void removeRole(String rolename)(Code) | | Remove a
Role from those this group belongs to.
Parameters: rolename - Role name of the old role |
Methods inherited from org.apache.tomcat.util.modeler.BaseModelMBean | public void addAttributeChangeNotificationListener(NotificationListener listener, String name, Object handback) throws IllegalArgumentException(Code)(Java Doc) public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException(Code)(Java Doc) public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException(Code)(Java Doc) public AttributeList getAttributes(String names)(Code)(Java Doc) public String getClassName()(Code)(Java Doc) public ObjectName getJmxName()(Code)(Java Doc) public MBeanInfo getMBeanInfo()(Code)(Java Doc) public Object getManagedResource() throws InstanceNotFoundException, InvalidTargetObjectTypeException, MBeanException, RuntimeOperationsException(Code)(Java Doc) public String getModelerType()(Code)(Java Doc) public MBeanNotificationInfo[] getNotificationInfo()(Code)(Java Doc) public String getObjectName()(Code)(Java Doc) public Object invoke(String name, Object params, String signature) throws MBeanException, ReflectionException(Code)(Java Doc) public void postDeregister()(Code)(Java Doc) public void postRegister(Boolean registrationDone)(Code)(Java Doc) public void preDeregister() throws Exception(Code)(Java Doc) public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc) public void removeAttributeChangeNotificationListener(NotificationListener listener, String name) throws ListenerNotFoundException(Code)(Java Doc) public void removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void sendAttributeChangeNotification(AttributeChangeNotification notification) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendNotification(Notification notification) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendNotification(String message) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void setAttribute(Attribute attribute) throws AttributeNotFoundException, MBeanException, ReflectionException(Code)(Java Doc) public AttributeList setAttributes(AttributeList attributes)(Code)(Java Doc) public void setManagedBean(ManagedBean managedBean)(Code)(Java Doc) public void setManagedResource(Object resource, String type) throws InstanceNotFoundException, MBeanException, RuntimeOperationsException(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|