Interface DatasourceStartable
- All Superinterfaces:
AutoCloseable,Closeable,io.quarkus.deployment.builditem.Startable
public interface DatasourceStartable
extends io.quarkus.deployment.builditem.Startable
-
Method Summary
Modifier and TypeMethodDescriptionGets a record which can be used to interrogate the datasource, after it has been started.Methods inherited from interface io.quarkus.deployment.builditem.Startable
getConnectionInfo, getContainerId, start
-
Method Details
-
runningDevServicesDatasource
Gets a record which can be used to interrogate the datasource, after it has been started. This should not be called before the container has been started. If the datasource has not been started, an IllegalStateException will be thrown.- Returns:
- a RunningDevServicesDatasource, populated with the container id and urls and credentials of the running datasource
-
getPassword
String getPassword() -
getUsername
String getUsername() -
getReactiveUrl
String getReactiveUrl() -
getEffectiveJdbcUrl
String getEffectiveJdbcUrl()
-