01: package org.jbpm.mail;
02:
03: import java.io.Serializable;
04:
05: /**
06: * translates actorId's into email addresses.
07: */
08: public interface AddressResolver extends Serializable {
09:
10: /**
11: * calculates the email address(es) for a given actorId.
12: * This method is allowed to return a String or a Collection of Strings
13: * representing email addresses.
14: */
15: Object resolveAddress(String actorId);
16: }
|