提交 8c3868a8 编写于 作者: S Sam Brannen

Polish Javadoc for EmbeddedDatabaseFactory

上级 c2303854
......@@ -30,16 +30,22 @@ import org.springframework.jdbc.datasource.init.DatabasePopulatorUtils;
import org.springframework.util.Assert;
/**
* Creates a {@link EmbeddedDatabase} instance. Callers are guaranteed that
* Creates an {@link EmbeddedDatabase} instance. Callers are guaranteed that
* the returned database has been fully initialized and populated.
*
* <p>Can be configured:<br>
* Call {@link #setDatabaseName(String)} to change the name of the database.<br>
* Call {@link #setDatabaseType(EmbeddedDatabaseType)} to set the database type if you wish to use one of the supported types.<br>
* Call {@link #setDatabaseConfigurer(EmbeddedDatabaseConfigurer)} to configure support for your own embedded database type.<br>
* Call {@link #setDatabasePopulator(DatabasePopulator)} to change the algorithm used to populate the database.<br>
* Call {@link #setDataSourceFactory(DataSourceFactory)} to change the type of DataSource used to connect to the database.<br>
* Call {@link #getDatabase()} to get the {@link EmbeddedDatabase} instance.<br>
* <p>Can be configured:
* <ul>
* <li>Call {@link #setDatabaseName(String)} to change the name of the database.
* <li>Call {@link #setDatabaseType(EmbeddedDatabaseType)} to set the database
* type if you wish to use one of the supported types.
* <li>Call {@link #setDatabaseConfigurer(EmbeddedDatabaseConfigurer)} to
* configure support for your own embedded database type.
* <li>Call {@link #setDatabasePopulator(DatabasePopulator)} to change the
* algorithm used to populate the database.
* <li>Call {@link #setDataSourceFactory(DataSourceFactory)} to change the type
* of DataSource used to connect to the database.
* <li>Call {@link #getDatabase()} to get the {@link EmbeddedDatabase} instance.
* </ul>
*
* @author Keith Donald
* @author Juergen Hoeller
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册