Fix typos in ServiceLocatorFactoryBean

master
Sam Brannen 12 years ago
parent db3bbb5f8c
commit cf687fcc72
  1. 10
      spring-beans/src/main/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBean.java

@ -65,17 +65,17 @@ import org.springframework.util.StringUtils;
* int or a custom enumeration type, for example, stringified via
* {@code toString}. The resulting String can be used as bean name as-is,
* provided that corresponding beans are defined in the bean factory.
* Alternatively, {@link #setServiceMappings(java.util.Properties) a custom mapping}
* between service ids and bean names can be defined.
* Alternatively, {@linkplain #setServiceMappings(java.util.Properties) a custom
* mapping} between service IDs and bean names can be defined.
*
* <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;
*
*public interface ServiceFactory {
*
* public MyService getService ();
* public MyService getService();
*}</pre>
*
* <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
* 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;
*

Loading…
Cancel
Save