| java.lang.Object org.apache.tomcat.util.modeler.BaseModelMBean org.apache.catalina.mbeans.UserMBean
UserMBean | public class UserMBean extends BaseModelMBean (Code) | | A ModelMBean implementation for the
org.apache.catalina.User component.
author: Craig R. McClanahan version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Constructor Summary | |
public | UserMBean() Construct a ModelMBean with default
ModelMBeanInfo information. |
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.
|
addGroup | public void addGroup(String groupname)(Code) | | Add a new
Group to those this user belongs to.
Parameters: groupname - Group name of the new group |
addRole | public void addRole(String rolename)(Code) | | Add a new
Role to those this user belongs to.
Parameters: rolename - Role name of the new role |
getGroups | public String[] getGroups()(Code) | | Return the MBean Names of all groups this user is a member of.
|
getRoles | public String[] getRoles()(Code) | | Return the MBean Names of all roles assigned to this user.
|
removeGroup | public void removeGroup(String groupname)(Code) | | Remove a
Group from those this user belongs to.
Parameters: groupname - Group name of the old group |
removeRole | public void removeRole(String rolename)(Code) | | Remove a
Role from those this user 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)
|
|
|