Polish Javadoc for EmbeddedDatabaseFactory

master
Sam Brannen 11 years ago
parent c2303854d1
commit 8c3868a8dd
  1. 22
      spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory.java

@ -30,16 +30,22 @@ import org.springframework.jdbc.datasource.init.DatabasePopulatorUtils;
import org.springframework.util.Assert; 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. * the returned database has been fully initialized and populated.
* *
* <p>Can be configured:<br> * <p>Can be configured:
* Call {@link #setDatabaseName(String)} to change the name of the database.<br> * <ul>
* Call {@link #setDatabaseType(EmbeddedDatabaseType)} to set the database type if you wish to use one of the supported types.<br> * <li>Call {@link #setDatabaseName(String)} to change the name of the database.
* Call {@link #setDatabaseConfigurer(EmbeddedDatabaseConfigurer)} to configure support for your own embedded database type.<br> * <li>Call {@link #setDatabaseType(EmbeddedDatabaseType)} to set the database
* Call {@link #setDatabasePopulator(DatabasePopulator)} to change the algorithm used to populate the database.<br> * type if you wish to use one of the supported types.
* Call {@link #setDataSourceFactory(DataSourceFactory)} to change the type of DataSource used to connect to the database.<br> * <li>Call {@link #setDatabaseConfigurer(EmbeddedDatabaseConfigurer)} to
* Call {@link #getDatabase()} to get the {@link EmbeddedDatabase} instance.<br> * 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 Keith Donald
* @author Juergen Hoeller * @author Juergen Hoeller

Loading…
Cancel
Save