Class DataSourceSchemaCreatedEvent
- java.lang.Object
- java.util.EventObject
- org.springframework.context.ApplicationEvent
- org.springframework.boot.autoconfigure.jdbc.DataSourceSchemaCreatedEvent
- All Implemented Interfaces:
Serializable
public class DataSourceSchemaCreatedEvent extends org.springframework.context.ApplicationEvent
ApplicationEvent
used internally to indicate that the schema of a newDataSource
has been created. This happens when schema-*.sql files are executed or when Hibernate initializes the database.- Since:
- 2.0.0
- See Also:
- Serialized Form
Field Summary
Fields inherited from class java.util.EventObject
source
Constructor Summary
Constructors Constructor Description DataSourceSchemaCreatedEvent(DataSource source)
Create a newDataSourceSchemaCreatedEvent
.
Constructor Detail
DataSourceSchemaCreatedEvent
public DataSourceSchemaCreatedEvent(DataSource source)
Create a newDataSourceSchemaCreatedEvent
.- Parameters:
source
- the sourceDataSource
.