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, setImplementation
public MailboxManagerManagement() throws NotCompliantMBeanException
NotCompliantMBeanException
public void setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager)
public boolean deleteMailboxes(String username)
MailboxManagerManagementMBean
deleteMailboxes
in interface MailboxManagerManagementMBean
MailboxManagerManagementMBean.deleteMailboxes(java.lang.String)
public void setLog(org.slf4j.Logger log)
LogEnabled
setLog
in interface LogEnabled
log
- not nullLogEnabled.setLog(org.slf4j.Logger)
public List<String> listMailboxes(String username)
MailboxManagerManagementMBean
listMailboxes
in interface MailboxManagerManagementMBean
(java.lang.String)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.