Class DataSourceConnectionProviderEvent
java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.hibernate.event.configuration.connection.DataSourceConnectionProviderEvent
- All Implemented Interfaces:
Event,Serializable
The
DataSourceConnectionProviderEvent indicates that the
Hibernate DatasourceConnectionProviderImpl
should be preferred.- Since:
- 1.1.0
- Author:
- Vlad Mihalcea
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hypersistence.optimizer.core.event.Event
Event.Priority -
Constructor Summary
ConstructorsConstructorDescriptionDataSourceConnectionProviderEvent(String connectionProviderClassName) Instantiate the event using the provided Hibernate connection provider class name. -
Method Summary
Modifier and TypeMethodDescriptionGet theConnectionProviderclass name.Get theEvent.Priorityof thisEventMethods inherited from class io.hypersistence.optimizer.core.event.AbstractEvent
getInfoUrl
-
Constructor Details
-
DataSourceConnectionProviderEvent
Instantiate the event using the provided Hibernate connection provider class name.- Parameters:
connectionProviderClassName- the currently configured Hibernate connection provider class name
-
-
Method Details
-
getConnectionProviderClassName
Get theConnectionProviderclass name.- Returns:
ConnectionProviderclass name
-
getPriority
Get theEvent.Priorityof thisEvent- Returns:
- the
Event.Priorityof thisEvent
-
getDescription
-