Polish docs

Closes gh-4446
pull/4446/merge
Johnny Lim 9 years ago committed by Stephane Nicoll
parent 8749fc745b
commit 4d9111606b

@ -72,7 +72,7 @@ content into your application; rather pick only the properties that you need.
spring.cache.type= # Cache type, auto-detected according to the environment by default. spring.cache.type= # Cache type, auto-detected according to the environment by default.
# SPRING CONFIG ({sc-spring-boot}/context/config/ConfigFileApplicationListener.{sc-ext}[ConfigFileApplicationListener]) # SPRING CONFIG ({sc-spring-boot}/context/config/ConfigFileApplicationListener.{sc-ext}[ConfigFileApplicationListener])
spring.config.location= # Config file locations. TODO spring.config.location= # Config file locations.
spring.config.name=application # Config file name. spring.config.name=application # Config file name.
# HAZELCAST ({sc-spring-boot-autoconfigure}/hazelcast/HazelcastProperties.{sc-ext}[HazelcastProperties]) # HAZELCAST ({sc-spring-boot-autoconfigure}/hazelcast/HazelcastProperties.{sc-ext}[HazelcastProperties])
@ -606,7 +606,7 @@ content into your application; rather pick only the properties that you need.
spring.jta.bitronix.connectionfactory.password= # The password to use to connect to the JMS provider. spring.jta.bitronix.connectionfactory.password= # The password to use to connect to the JMS provider.
spring.jta.bitronix.connectionfactory.share-transaction-connections=false # Whether or not connections in the ACCESSIBLE state can be shared within the context of a transaction. spring.jta.bitronix.connectionfactory.share-transaction-connections=false # Whether or not connections in the ACCESSIBLE state can be shared within the context of a transaction.
spring.jta.bitronix.connectionfactory.test-connections=true # Whether or not connections should be tested when acquired from the pool. spring.jta.bitronix.connectionfactory.test-connections=true # Whether or not connections should be tested when acquired from the pool.
spring.jta.bitronix.connectionfactory.two-pc-ordering-position=1 # The postion that this resource should take during two-phase commit (always first is Integer.MIN_VALUE, always last is Integer.MAX_VALUE). spring.jta.bitronix.connectionfactory.two-pc-ordering-position=1 # The position that this resource should take during two-phase commit (always first is Integer.MIN_VALUE, always last is Integer.MAX_VALUE).
spring.jta.bitronix.connectionfactory.unique-name=jmsConnectionFactory # The unique name used to identify the resource during recovery. spring.jta.bitronix.connectionfactory.unique-name=jmsConnectionFactory # The unique name used to identify the resource during recovery.
spring.jta.bitronix.connectionfactory.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources. spring.jta.bitronix.connectionfactory.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources.
spring.jta.bitronix.connectionfactory.user= # The user to use to connect to the JMS provider. spring.jta.bitronix.connectionfactory.user= # The user to use to connect to the JMS provider.

@ -1621,7 +1621,7 @@ not something you want to be on the classpath in production. It is a Hibernate f
(nothing to do with Spring). (nothing to do with Spring).
[[howto-intialize-a-database-using-spring-jdbc]] [[howto-initialize-a-database-using-spring-jdbc]]
=== Initialize a database using Spring JDBC === Initialize a database using Spring JDBC
Spring JDBC has a `DataSource` initializer feature. Spring Boot enables it by default and Spring JDBC has a `DataSource` initializer feature. Spring Boot enables it by default and
loads SQL from the standard locations `schema.sql` and `data.sql` (in the root of the loads SQL from the standard locations `schema.sql` and `data.sql` (in the root of the

@ -161,7 +161,7 @@ public class PropertySourcesPropertyValues implements PropertyValues {
value = resolver.getProperty(propertyName, Object.class); value = resolver.getProperty(propertyName, Object.class);
} }
catch (RuntimeException ex) { catch (RuntimeException ex) {
// Probably could not convert to Object, weird, but ignoreable // Probably could not convert to Object, weird, but ignorable
} }
if (value == null) { if (value == null) {
value = source.getProperty(propertyName.toUpperCase()); value = source.getProperty(propertyName.toUpperCase());

@ -72,7 +72,7 @@ public class YamlConfigurationFactory<T>
/** /**
* Sets a validation constructor which will be applied to the YAML doc to see whether * Sets a validation constructor which will be applied to the YAML doc to see whether
* it matches the expected Javabean. * it matches the expected JavaBean.
* @param type the root type * @param type the root type
*/ */
public YamlConfigurationFactory(Class<?> type) { public YamlConfigurationFactory(Class<?> type) {

@ -27,7 +27,7 @@ import org.yaml.snakeyaml.nodes.NodeId;
/** /**
* Extended version of snakeyaml's Constructor class to facilitate mapping custom YAML * Extended version of snakeyaml's Constructor class to facilitate mapping custom YAML
* keys to Javabean property names. * keys to JavaBean property names.
* *
* @author Luke Taylor * @author Luke Taylor
*/ */
@ -57,8 +57,8 @@ public class YamlJavaBeanPropertyConstructor extends Constructor {
} }
/** /**
* Adds an alias for a Javabean property name on a particular type. The values of YAML * Adds an alias for a JavaBean property name on a particular type. The values of YAML
* keys with the alias name will be mapped to the Javabean property. * keys with the alias name will be mapped to the JavaBean property.
* @param alias the alias to map * @param alias the alias to map
* @param type the type of property * @param type the type of property
* @param name the property name * @param name the property name

Loading…
Cancel
Save