Package mireka.address

Examples of mireka.address.LocalPart


        this.users = users;
    }

    @Override
    public boolean isSatisfiedBy(Recipient recipient) {
        LocalPart recipientLocalPart = recipient.localPart();
        for (GlobalUser user : users) {
            if (user.getUsername().matches(recipientLocalPart))
                return true;
        }
        return false;
View Full Code Here


    private GlobalUsers users;
    private MaildropRepository maildropRepository;

    @Override
    public Destination lookup(Recipient recipient) {
        LocalPart recipientLocalPart = recipient.localPart();
        for (GlobalUser user : users) {
            if (user.getUsername().matches(recipientLocalPart)) {
                MaildropDestination destination = new MaildropDestination();
                destination.setMaildropName(user.getUsername().toString());
                destination.setMaildropRepository(maildropRepository);
View Full Code Here

TOP

Related Classes of mireka.address.LocalPart

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.