org.jbpm.identity.mail
Class IdentityAddressResolver

java.lang.Object
  extended by org.jbpm.identity.mail.IdentityAddressResolver
All Implemented Interfaces:
java.io.Serializable, org.jbpm.mail.AddressResolver, org.jbpm.svc.Service, org.jbpm.svc.ServiceFactory

public class IdentityAddressResolver
extends java.lang.Object
implements org.jbpm.mail.AddressResolver, org.jbpm.svc.ServiceFactory, org.jbpm.svc.Service

translates actorIds into email addresses with the jBPM identity module. Only user actorIds are resolved to their email addresses. Group actorIds return null.

See Also:
Serialized Form

Constructor Summary
IdentityAddressResolver()
           
 
Method Summary
 void close()
           
 org.jbpm.svc.Service openService()
           
 java.lang.Object resolveAddress(java.lang.String actorId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityAddressResolver

public IdentityAddressResolver()
Method Detail

resolveAddress

public java.lang.Object resolveAddress(java.lang.String actorId)
Specified by:
resolveAddress in interface org.jbpm.mail.AddressResolver

openService

public org.jbpm.svc.Service openService()
Specified by:
openService in interface org.jbpm.svc.ServiceFactory

close

public void close()
Specified by:
close in interface org.jbpm.svc.Service
Specified by:
close in interface org.jbpm.svc.ServiceFactory