Class BasicDataSourceFactory

java.lang.Object
org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory
All Implemented Interfaces:
ObjectFactory

public class BasicDataSourceFactory extends Object implements ObjectFactory
JNDI object factory that creates an instance of BasicDataSource that has been configured based on the RefAddr values of the specified Reference, which must match the names and data types of the BasicDataSource bean properties with the following exceptions:
  • connectionInitSqls must be passed to this factory as a single String using semicolon to delimit the statements whereas BasicDataSource requires a collection of Strings.
Since:
2.0