Fix javadocs of NameResolver

This commit is contained in:
Kun Zhang 2015-10-28 11:50:42 -07:00
parent b5b79642c5
commit ac02e206e8
1 changed files with 3 additions and 5 deletions

View File

@ -38,12 +38,10 @@ import javax.annotation.Nullable;
import javax.annotation.concurrent.ThreadSafe;
/**
* A pluggable component that resolves a target URI (which is broken down into 3 parts as described
* below) and return addresses to the caller.
* A pluggable component that resolves a target {@link URI} and return addresses to the caller.
*
* <p>The target URI is a {@link URI} instance. A {@code NameResolver} uses the scheme to determine
* whether it can resolve a given URI, and uses the components after the scheme for actual
* resolution.
* <p>A {@code NameResolver} uses the URI's scheme to determine whether it can resolve it, and uses
* the components after the scheme for actual resolution.
*
* <p>The addresses and attributes of a target may be changed over time, thus the caller registers a
* {@link Listener} to receive continuous updates.