public class BoneCPDataSourceFactory extends AbstractDataSourceFactory<com.jolbox.bonecp.BoneCPDataSource>
Constructor and Description |
---|
BoneCPDataSourceFactory() |
Modifier and Type | Method and Description |
---|---|
protected DataSource |
callConstructor(Class clazz,
Properties configProperties)
Initialize a new
BoneCPDataSource instance with given configuration
properties |
create, create, getDsClass, instantiateDataSource, isResolvedProperty, setDsClass
protected DataSource callConstructor(Class clazz, Properties configProperties) throws Exception
BoneCPDataSource
instance with given configuration
propertiescallConstructor
in class AbstractDataSourceFactory<com.jolbox.bonecp.BoneCPDataSource>
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 classException
AbstractDataSourceFactory.callConstructor(Class, java.util.Properties)
Copyright © 2009–2014. All rights reserved.