public class MailboxManagerManagement extends StandardMBean implements MailboxManagerManagementMBean, LogEnabled
| Constructor and Description | 
|---|
| MailboxManagerManagement() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | deleteMailboxes(String username)Delete all Mailboxes which belong to the user | 
| List<String> | listMailboxes(String username)List all mailboxes for a user | 
| void | setLog(org.slf4j.Logger log)Sets the service log. | 
| void | setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager) | 
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic MailboxManagerManagement()
                         throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic void setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager)
public boolean deleteMailboxes(String username)
MailboxManagerManagementMBeandeleteMailboxes in interface MailboxManagerManagementMBeanMailboxManagerManagementMBean.deleteMailboxes(java.lang.String)public void setLog(org.slf4j.Logger log)
LogEnabledsetLog in interface LogEnabledlog - not nullLogEnabled.setLog(org.slf4j.Logger)public List<String> listMailboxes(String username)
MailboxManagerManagementMBeanlistMailboxes in interface MailboxManagerManagementMBean(java.lang.String)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.