public class InvalidDataSourceNotificator extends AbstractConfigurableAdministratorNotificator implements Serviceable
Modifier and Type | Field and Description |
---|---|
private DataSourceConsumerExtensionPoint |
_dataSourceConsumerEP |
private LDAPDataSourceManager |
_ldapDataSourceManager |
private SQLDataSourceManager |
_sqlDataSourceManager |
_action, _iconGlyph, _message, _pluginName, _title, _type
Constructor and Description |
---|
InvalidDataSourceNotificator() |
Modifier and Type | Method and Description |
---|---|
private void |
_checkLdapDatasource(AbstractDataSourceManager.DataSourceDefinition datasource,
List<Notification> notifications) |
private void |
_checkSqlDatasource(AbstractDataSourceManager.DataSourceDefinition datasource,
List<Notification> notifications) |
private Notification |
_getNotification(String datasourceName) |
List<Notification> |
getNotifications()
Gets the notifications to send to the admin.
|
void |
service(ServiceManager smanager) |
configure, setPluginInfo
private SQLDataSourceManager _sqlDataSourceManager
private LDAPDataSourceManager _ldapDataSourceManager
private DataSourceConsumerExtensionPoint _dataSourceConsumerEP
public InvalidDataSourceNotificator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public List<Notification> getNotifications()
AdministratorNotificator
getNotifications
in interface AdministratorNotificator
private Notification _getNotification(String datasourceName)
private void _checkSqlDatasource(AbstractDataSourceManager.DataSourceDefinition datasource, List<Notification> notifications)
private void _checkLdapDatasource(AbstractDataSourceManager.DataSourceDefinition datasource, List<Notification> notifications)