Package org.apache.james.queue.api

Examples of org.apache.james.queue.api.MailQueueManagementMBean


    protected synchronized void registerMBean(String queuename, MailQueue queue) {

        String mbeanName = "org.apache.james:type=component,name=queue,queue=" + queuename;
        try {
            MailQueueManagementMBean mbean = null;
            if (queue instanceof ManageableMailQueue) {
                mbean = new MailQueueManagement((ManageableMailQueue) queue);
            } else if (queue instanceof MailQueueManagementMBean) {
                mbean = (MailQueueManagementMBean) queue;
            }
View Full Code Here

TOP

Related Classes of org.apache.james.queue.api.MailQueueManagementMBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.