public class RecipientTable extends Object implements RecipientDestinationMapper
RecipientDestinationMapper
instances, and search each element of the list to lookup the destination
assigned to a recipient.| Constructor and Description |
|---|
RecipientTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapper(RecipientDestinationMapper mapper) |
Destination |
lookup(Recipient recipient)
Returns the destination of mails sent to this user; or null if it does
not know the recipient.
|
void |
setMappers(java.util.List<RecipientDestinationMapper> mappers) |
public Destination lookup(Recipient recipient)
RecipientDestinationMapperlookup in interface RecipientDestinationMapperpublic void addMapper(RecipientDestinationMapper mapper)
public void setMappers(java.util.List<RecipientDestinationMapper> mappers)