Fix typos in ServiceLocatorFactoryBean

This commit is contained in:
Sam Brannen 2013-04-12 14:21:24 +02:00
parent db3bbb5f8c
commit cf687fcc72
1 changed files with 5 additions and 5 deletions

View File

@ -65,17 +65,17 @@ import org.springframework.util.StringUtils;
* int or a custom enumeration type, for example, stringified via * int or a custom enumeration type, for example, stringified via
* {@code toString}. The resulting String can be used as bean name as-is, * {@code toString}. The resulting String can be used as bean name as-is,
* provided that corresponding beans are defined in the bean factory. * provided that corresponding beans are defined in the bean factory.
* Alternatively, {@link #setServiceMappings(java.util.Properties) a custom mapping} * Alternatively, {@linkplain #setServiceMappings(java.util.Properties) a custom
* between service ids and bean names can be defined. * mapping} between service IDs and bean names can be defined.
* *
* <p>By way of an example, consider the following service locator interface. * <p>By way of an example, consider the following service locator interface.
* Note that this interface is not dependant on any Spring APIs. * Note that this interface is not dependent on any Spring APIs.
* *
* <pre class="code">package a.b.c; * <pre class="code">package a.b.c;
* *
*public interface ServiceFactory { *public interface ServiceFactory {
* *
* public MyService getService (); * public MyService getService();
*}</pre> *}</pre>
* *
* <p>A sample config in an XML-based * <p>A sample config in an XML-based
@ -121,7 +121,7 @@ import org.springframework.util.StringUtils;
* *
* <p>By way of an example that looks up a bean <b>by name</b>, consider * <p>By way of an example that looks up a bean <b>by name</b>, consider
* the following service locator interface. Again, note that this * the following service locator interface. Again, note that this
* interface is not dependant on any Spring APIs. * interface is not dependent on any Spring APIs.
* *
* <pre class="code">package a.b.c; * <pre class="code">package a.b.c;
* *