You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/09/04 17:42:32 UTC
svn commit: r572718 -
/jakarta/jmeter/branches/rel-2-2/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
Author: sebb
Date: Tue Sep 4 08:42:31 2007
New Revision: 572718
URL: http://svn.apache.org/viewvc?rev=572718&view=rev
Log:
init() should not be public
Modified:
jakarta/jmeter/branches/rel-2-2/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
Modified: jakarta/jmeter/branches/rel-2-2/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java?rev=572718&r1=572717&r2=572718&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java (original)
+++ jakarta/jmeter/branches/rel-2-2/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java Tue Sep 4 08:42:31 2007
@@ -18,7 +18,6 @@
import java.io.ObjectStreamException;
-import org.apache.avalon.excalibur.datasource.DataSourceComponent;
import org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource;
import org.apache.avalon.framework.configuration.DefaultConfiguration;
import org.apache.avalon.framework.logger.LogKitLogger;
@@ -132,7 +131,7 @@
return el;
}
- public DataSourceComponent initPool() throws Exception {
+ private void initPool() throws Exception {
excaliburSource = new ResourceLimitingJdbcDataSource();
DefaultConfiguration config = new DefaultConfiguration("rl-jdbc");
@@ -208,7 +207,6 @@
excaliburSource.configure(config);
excaliburSource.setInstrumentableName(getDataSource());
started[0] = true;
- return excaliburSource;
}
/*
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org