Package org.apache.james.domainlist.api

Examples of org.apache.james.domainlist.api.SimpleDomainList


    serviceManager.put("dnsservice", dnsservice);
   
    vutManagement = new MockVirtualUserTableManagementImpl();
    serviceManager.put("virtualusertable", vutManagement);
 
    DomainList xml = new SimpleDomainList();

 
    serviceManager.put("domainlist", xml);

    serviceManager.put("mailStore", new MockMailStore());
View Full Code Here


        m_serviceManager.put("org.apache.james.smtpserver.protocol.DNSService", dnsAdapter);
        queueFactory = new MockMailQueueFactory();
        queue = (MockMailQueue) queueFactory.getQueue(MockMailQueueFactory.SPOOL);
        m_serviceManager.put("mailQueueFactory", queueFactory);
        m_serviceManager.put("domainlist", new SimpleDomainList() {
            public boolean containsDomain(String serverName) {
                return "localhost".equals(serverName);
            }
        });
    }
View Full Code Here

TOP

Related Classes of org.apache.james.domainlist.api.SimpleDomainList

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.