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.

@ -700,7 +700,7 @@ NOTE: You need to add `compileJava.dependsOn(processResources)` to your build to
that resources are processed before code is compiled. Without this directive any that resources are processed before code is compiled. Without this directive any
`additional-spring-configuration-metadata.json` files will not be processed. `additional-spring-configuration-metadata.json` files will not be processed.
The processor will pickup both classes and methods that are annotated with The processor will pick up both classes and methods that are annotated with
`@ConfigurationProperties`. The Javadoc for field values within configuration classes `@ConfigurationProperties`. The Javadoc for field values within configuration classes
will be used to populate the `description` attribute. will be used to populate the `description` attribute.

@ -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

@ -23,7 +23,7 @@ import org.springframework.data.gemfire.repository.config.EnableGemfireRepositor
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
/** /**
* The GemstoneAppConfiguration class for allowing Spring Boot to pickup additional * The GemstoneAppConfiguration class for allowing Spring Boot to pick up additional
* application Spring configuration meta-data for GemFire, which must be specified in * application Spring configuration meta-data for GemFire, which must be specified in
* Spring Data GemFire's XML namespace. * Spring Data GemFire's XML namespace.
* *

@ -353,7 +353,7 @@ public class PropertiesConfigurationFactory<T>
} }
/** /**
* Customize the databinder. * Customize the data binder.
* @param dataBinder the data binder that will be used to bind and validate * @param dataBinder the data binder that will be used to bind and validate
*/ */
protected void customizeBinder(DataBinder dataBinder) { protected void customizeBinder(DataBinder dataBinder) {

@ -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

@ -149,7 +149,7 @@ public abstract class AbstractLoggingSystem extends LoggingSystem {
/** /**
* Reinitialize the logging system if required. Called when * Reinitialize the logging system if required. Called when
* {@link #getSelfInitializationConfig()} is used and the log file hasn't changed. May * {@link #getSelfInitializationConfig()} is used and the log file hasn't changed. May
* be used to reload configuration (for example to pickup additional System * be used to reload configuration (for example to pick up additional System
* properties). * properties).
* @param initializationContext the logging initialization context * @param initializationContext the logging initialization context
*/ */

Loading…
Cancel
Save