You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2007/05/20 23:46:22 UTC
svn commit: r539954 - in
/geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc:
JDBCStoreThreadPooledNonTransactionalTimer.java
JDBCStoreThreadPooledTransactionalTimer.java
Author: djencks
Date: Sun May 20 14:46:22 2007
New Revision: 539954
URL: http://svn.apache.org/viewvc?view=rev&rev=539954
Log:
GERONIMO-3175 some overlooked changes to exception signature as a result of previous change
Modified:
geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledNonTransactionalTimer.java
geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledTransactionalTimer.java
Modified: geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledNonTransactionalTimer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledNonTransactionalTimer.java?view=diff&rev=539954&r1=539953&r2=539954
==============================================================================
--- geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledNonTransactionalTimer.java (original)
+++ geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledNonTransactionalTimer.java Sun May 20 14:46:22 2007
@@ -20,6 +20,7 @@
import java.sql.SQLException;
import javax.sql.DataSource;
import javax.transaction.TransactionManager;
+import javax.resource.ResourceException;
import java.util.concurrent.Executor;
@@ -40,7 +41,7 @@
public JDBCStoreThreadPooledNonTransactionalTimer(ConnectionFactorySource managedConnectionFactoryWrapper,
TransactionManager transactionManager,
Executor threadPool,
- Kernel kernel) throws SQLException {
+ Kernel kernel) throws SQLException, ResourceException {
super(new NontransactionalExecutorTaskFactory(),
new JDBCWorkerPersistence(kernel.getKernelName(), (DataSource)managedConnectionFactoryWrapper.$getResource(), false), threadPool, transactionManager);
}
Modified: geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledTransactionalTimer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledTransactionalTimer.java?view=diff&rev=539954&r1=539953&r2=539954
==============================================================================
--- geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledTransactionalTimer.java (original)
+++ geronimo/server/trunk/modules/geronimo-timer/src/main/java/org/apache/geronimo/timer/jdbc/JDBCStoreThreadPooledTransactionalTimer.java Sun May 20 14:46:22 2007
@@ -20,6 +20,7 @@
import java.sql.SQLException;
import javax.sql.DataSource;
import javax.transaction.TransactionManager;
+import javax.resource.ResourceException;
import java.util.concurrent.Executor;
@@ -44,7 +45,7 @@
TransactionManager transactionManager,
ConnectionFactorySource managedConnectionFactoryWrapper,
Executor threadPool,
- Kernel kernel) throws SQLException {
+ Kernel kernel) throws SQLException, ResourceException {
super(new TransactionalExecutorTaskFactory(transactionManager, repeatCount),
new JDBCWorkerPersistence(kernel.getKernelName(), (DataSource)managedConnectionFactoryWrapper.$getResource(), false), threadPool, transactionManager);
}