cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: rev 55221 - cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron
Date Thu, 21 Oct 2004 12:57:28 GMT
Author: unico
Date: Thu Oct 21 05:57:28 2004
New Revision: 55221

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/DataSourceComponentConnectionProvider.java
Log:
oops

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/DataSourceComponentConnectionProvider.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/DataSourceComponentConnectionProvider.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/DataSourceComponentConnectionProvider.java
Thu Oct 21 05:57:28 2004
@@ -36,7 +36,7 @@
     public DataSourceComponentConnectionProvider(String dsName, ServiceManager manager) throws
ConfigurationException {
         m_manager = manager;
         try {
-            m_manager.lookup(DataSourceComponent.ROLE + "/" + dsName);            
+            m_ds = (DataSourceComponent) m_manager.lookup(DataSourceComponent.ROLE + "/"
+ dsName);            
         }
         catch (ServiceException e) {
             throw new ConfigurationException("No datasource available by that name: " + dsName);

Mime
View raw message