File tree 1 file changed +5
-5
lines changed
spring-beans/src/main/java/org/springframework/beans/factory/config
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 65
65
* int or a custom enumeration type, for example, stringified via
66
66
* {@code toString}. The resulting String can be used as bean name as-is,
67
67
* provided that corresponding beans are defined in the bean factory.
68
- * Alternatively, {@link #setServiceMappings(java.util.Properties) a custom mapping}
69
- * between service ids and bean names can be defined.
68
+ * Alternatively, {@linkplain #setServiceMappings(java.util.Properties) a custom
69
+ * mapping} between service IDs and bean names can be defined.
70
70
*
71
71
* <p>By way of an example, consider the following service locator interface.
72
- * Note that this interface is not dependant on any Spring APIs.
72
+ * Note that this interface is not dependent on any Spring APIs.
73
73
*
74
74
* <pre class="code">package a.b.c;
75
75
*
76
76
*public interface ServiceFactory {
77
77
*
78
- * public MyService getService ();
78
+ * public MyService getService();
79
79
*}</pre>
80
80
*
81
81
* <p>A sample config in an XML-based
121
121
*
122
122
* <p>By way of an example that looks up a bean <b>by name</b>, consider
123
123
* the following service locator interface. Again, note that this
124
- * interface is not dependant on any Spring APIs.
124
+ * interface is not dependent on any Spring APIs.
125
125
*
126
126
* <pre class="code">package a.b.c;
127
127
*
You can’t perform that action at this time.
0 commit comments