Datasource Service Events
Last updated
Was this helpful?
Last updated
Was this helpful?
These events occur around the lifecycle of datasources and the datasource service.
This event is triggered immediately after the datasource service has started. You could use this event to register custom datasources after the service has started, for example.
DatasourceService
Java class
Instance of the BoxLang DatasourceService
This event is triggered immediately prior to datasource service shutdown. You could use this event to perform any cleanup on custom datasources, for example.
DatasourceService
Java class
Instance of the BoxLang DatasourceService
This event is triggered immediately prior to datasource startup. You can listen to this event to perform any last-minute configuration tweaks on the datasource before it is started.
name
String
Datasource name
properties
Struct
Datasource configuration properties
config
Java class
Instance of the DatasourceConfig class, which stores all configuration for this datasource.