|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.xd.routing.RoutingResolver
public abstract class RoutingResolver
Resolve an address for routing purposes.
| Constructor Summary | |
|---|---|
RoutingResolver()
|
|
| Method Summary | |
|---|---|
Collection<String> |
getSmtpEndpoints(Collection<String> addresses)
Return a collection of SMTP endpoints from the provided collection of addresses. |
Collection<String> |
getXdEndpoints(Collection<String> addresses)
Return a collection of XD endpoints from the provided collection of addresses. |
boolean |
hasSmtpEndpoints(Collection<String> addresses)
Determine if the collection of addresses contains SMTP endpoints. |
boolean |
hasXdEndpoints(Collection<String> addresses)
Determine if the collection of addresses contains XD endpoints. |
abstract boolean |
isSmtpEndpoint(String address)
Determine whether or not the provided address resolves to an SMTP endpoint. |
abstract boolean |
isXdEndpoint(String address)
Determine whether or not the provided address resolves to an XD endpoint. |
abstract String |
resolve(String address)
Resolve an address to a stored value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoutingResolver()
| Method Detail |
|---|
public abstract String resolve(String address)
address - The address to resolve.
public abstract boolean isXdEndpoint(String address)
address - The address to resolve.
public abstract boolean isSmtpEndpoint(String address)
address - The address to resolve.
public Collection<String> getSmtpEndpoints(Collection<String> addresses)
addresses - The collection of address from which to extract SMTP
endpoints.
public Collection<String> getXdEndpoints(Collection<String> addresses)
addresses - The collection of addresses from which to extract XD
endpoints.
public boolean hasSmtpEndpoints(Collection<String> addresses)
addresses - The collection of addresses to inspect.
public boolean hasXdEndpoints(Collection<String> addresses)
addresses - The collection of addresses to inspect.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||