public class JDBCConnectionLeakDetectionTestCallback
extends com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>>
Modifier and Type | Field and Description |
---|---|
static JDBCConnectionLeakDetectionTestCallback |
INSTANCE |
Constructor and Description |
---|
JDBCConnectionLeakDetectionTestCallback() |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> serviceReferences) |
Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> |
beforeClass(org.junit.runner.Description description) |
public static final JDBCConnectionLeakDetectionTestCallback INSTANCE
public JDBCConnectionLeakDetectionTestCallback()
public void afterClass(org.junit.runner.Description description, Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> serviceReferences)
afterClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>>
afterClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>>
public Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> beforeClass(org.junit.runner.Description description) throws Exception
beforeClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>>
beforeClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>>
Exception