3838 *
3939 * <pre class="code">
4040 * <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
41- * <property name="driverClassName" value="${driver}" />
42- * <property name="url" value="jdbc:${dbname}" />
41+ * <property name="driverClassName" value="${jdbc. driver}" />
42+ * <property name="url" value="jdbc:${jdbc. dbname}" />
4343 * </bean>
4444 * </pre>
4545 *
4646 * Example properties file:
4747 *
4848 * <pre class="code">
49- * driver=com.mysql.jdbc.Driver
50- * dbname=mysql:mydb</pre>
49+ * jdbc. driver=com.mysql.jdbc.Driver
50+ * jdbc. dbname=mysql:mydb</pre>
5151 *
5252 * Annotated bean definitions may take advantage of property replacement using
5353 * the {@link org.springframework.beans.factory.annotation.Value @Value} annotation:
8080 * <p>Example XML property with default value:
8181 *
8282 * <pre class="code">
83- * <property name="url" value="jdbc:${dbname:defaultdb}" />
83+ * <property name="url" value="jdbc:${jdbc. dbname:defaultdb}" />
8484 * </pre>
8585 *
8686 * @author Chris Beams
@@ -104,6 +104,7 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
104104 /** Default escape character: {@code '\'}. */
105105 public static final Character DEFAULT_ESCAPE_CHARACTER = '\\' ;
106106
107+
107108 /** Defaults to {@value #DEFAULT_PLACEHOLDER_PREFIX}. */
108109 protected String placeholderPrefix = DEFAULT_PLACEHOLDER_PREFIX ;
109110
@@ -129,34 +130,33 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
129130
130131 /**
131132 * Set the prefix that a placeholder string starts with.
132- * The default is {@value #DEFAULT_PLACEHOLDER_PREFIX}.
133+ * <p> The default is {@value #DEFAULT_PLACEHOLDER_PREFIX}.
133134 */
134135 public void setPlaceholderPrefix (String placeholderPrefix ) {
135136 this .placeholderPrefix = placeholderPrefix ;
136137 }
137138
138139 /**
139140 * Set the suffix that a placeholder string ends with.
140- * The default is {@value #DEFAULT_PLACEHOLDER_SUFFIX}.
141+ * <p> The default is {@value #DEFAULT_PLACEHOLDER_SUFFIX}.
141142 */
142143 public void setPlaceholderSuffix (String placeholderSuffix ) {
143144 this .placeholderSuffix = placeholderSuffix ;
144145 }
145146
146147 /**
147- * Specify the separating character between the placeholder variable
148- * and the associated default value, or {@code null} if no such
149- * special character should be processed as a value separator.
150- * The default is {@value #DEFAULT_VALUE_SEPARATOR}.
148+ * Specify the separating character between the placeholder variable and the
149+ * associated default value, or {@code null} if no such special character
150+ * should be processed as a value separator.
151+ * <p> The default is {@value #DEFAULT_VALUE_SEPARATOR}.
151152 */
152153 public void setValueSeparator (@ Nullable String valueSeparator ) {
153154 this .valueSeparator = valueSeparator ;
154155 }
155156
156157 /**
157- * Specify the escape character to use to ignore placeholder prefix
158- * or value separator, or {@code null} if no escaping should take
159- * place.
158+ * Specify the escape character to use to ignore the placeholder prefix or
159+ * value separator, or {@code null} if no escaping should take place.
160160 * <p>Default is {@link #DEFAULT_ESCAPE_CHARACTER}.
161161 * @since 6.2
162162 */
0 commit comments