Package mireka.filter.local.table
Class RecipientTable
- Object
-
- mireka.filter.local.table.RecipientTable
-
- All Implemented Interfaces:
RecipientDestinationMapper
- Direct Known Subclasses:
LocalRecipientTable
public class RecipientTable extends Object implements RecipientDestinationMapper
RecipientTable contains a list of otherRecipientDestinationMapperinstances, and search each element of the list to lookup the destination assigned to a recipient.
-
-
Constructor Summary
Constructors Constructor Description RecipientTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMapper(RecipientDestinationMapper mapper)Destinationlookup(Recipient recipient)Returns the destination of mails sent to this user; or null if it does not know the recipient.voidsetMappers(java.util.List<RecipientDestinationMapper> mappers)
-
-
-
Method Detail
-
lookup
public Destination lookup(Recipient recipient)
Description copied from interface:RecipientDestinationMapperReturns the destination of mails sent to this user; or null if it does not know the recipient.- Specified by:
lookupin interfaceRecipientDestinationMapper
-
addMapper
public void addMapper(RecipientDestinationMapper mapper)
-
setMappers
public void setMappers(java.util.List<RecipientDestinationMapper> mappers)
-
-