org.apache.tomcat.jdbc.pool.Validator Java Examples
The following examples show how to use
org.apache.tomcat.jdbc.pool.Validator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SingleDataSource.java From dal with Apache License 2.0 | 5 votes |
private void setPoolPropertiesIntoValidator(PoolProperties poolProperties) { if (poolProperties == null) return; Validator validator = poolProperties.getValidator(); if (validator == null) return; if (!(validator instanceof ValidatorProxy)) return; ValidatorProxy dsValidator = (ValidatorProxy) validator; dsValidator.setPoolProperties(poolProperties); }
Example #2
Source File: ConnectionPool.java From Tomcat8-Source-Read with MIT License | 4 votes |
/** * {@inheritDoc} */ @Override public Validator getValidator() { return getPoolProperties().getValidator(); }
Example #3
Source File: ConnectionPool.java From Tomcat8-Source-Read with MIT License | 4 votes |
/** * {@inheritDoc} */ @Override public void setValidator(Validator validator) { getPoolProperties().setValidator(validator); }
Example #4
Source File: ConnectionPool.java From Tomcat7.0.67 with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public Validator getValidator() { return getPoolProperties().getValidator(); }
Example #5
Source File: ConnectionPool.java From Tomcat7.0.67 with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public void setValidator(Validator validator) { getPoolProperties().setValidator(validator); }
Example #6
Source File: ConnectionPool.java From tomcatsrc with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public Validator getValidator() { return getPoolProperties().getValidator(); }
Example #7
Source File: ConnectionPool.java From tomcatsrc with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public void setValidator(Validator validator) { getPoolProperties().setValidator(validator); }