001package io.ebean.datasource; 002 003/** 004 * Service factory for creating DataSourceAlert implementation. 005 */ 006public interface DataSourceAlertFactory { 007 008 /** 009 * Create a DataSourceAlert for notifications when DataSource down and up are detected. 010 */ 011 DataSourceAlert createAlert(); 012}