public class HikariCPDataSourceFactory extends AbstractDataSourceFactory<com.zaxxer.hikari.HikariDataSource>
| Constructor and Description |
|---|
HikariCPDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected DataSource |
callConstructor(Class clazz,
Properties configProperties)
Initialize a new
HikariDataSource instance with given configuration
properties |
create, create, getDsClass, instantiateDataSource, isResolvedProperty, setDsClassprotected DataSource callConstructor(Class clazz, Properties configProperties) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
HikariDataSource instance with given configuration
propertiescallConstructor in class AbstractDataSourceFactory<com.zaxxer.hikari.HikariDataSource>clazz - class to instantiate. Cannot be nullconfigProperties - properties list to configure new DataSource. by default, these
properties are not used because default no-arg constructor is called but are
available in case of specific override. Cannot be nullDataSource instanceNoSuchMethodException - if the specified constructor was not foundIllegalAccessException - if the specified constructor cannot be called due to access restrictionsInvocationTargetException - if the underlying constructor throws an exception.InstantiationException - if the class that declares the underlying constructor represents an abstract classAbstractDataSourceFactory.callConstructor(Class, java.util.Properties)Copyright © 2009–2014. All rights reserved.