Class DataSourceSetupRule
java.lang.Object
com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
com.atlassian.confluence.impl.health.checks.rules.DataSourceSetupRule
- All Implemented Interfaces:
HealthCheckRule
A
HealthCheckRule
which checks to see if Hibernate is configured to use a JNDI DataSource, and to log
a Johnson warning if so.- Since:
- 8.0
-
Constructor Summary
ConstructorDescriptionDataSourceSetupRule
(ErrorMessageProvider errorMessageProvider, DataSourceConfiguration dataSourceConfiguration) -
Method Summary
Methods inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
getErrorMessage, getFailureEvent, validate
-
Constructor Details
-
DataSourceSetupRule
public DataSourceSetupRule(ErrorMessageProvider errorMessageProvider, DataSourceConfiguration dataSourceConfiguration)
-
-
Method Details
-
doValidation
- Specified by:
doValidation
in classAbstractHealthCheckRule
-